simple-firebase-unity icon indicating copy to clipboard operation
simple-firebase-unity copied to clipboard

www.responseHeaders is null when in airplane-mode

Open Whyser opened this issue 8 years ago • 1 comments

https://github.com/dkrprasetya/simple-firebase-unity/blob/e0ea5d1ae30e7186112f9869870a0e517b2a6efb/SimpleFirebaseUnity/Firebase.cs#L797

Hey, as you can see in the title, it seems that www.responseHeaders is null when the user is in airplane-mode, not sure if this issue is specific to Unity 2017.2 (which we recently upgraded to), but we haven't experienced this before, that we know of (in Unity 5.5.0f3).

EDIT: Seems to be related to Unity Bug: https://issuetracker.unity3d.com/issues/www-dot-responseheaders-object-is-null-if-there-is-no-internet-connection

Whyser avatar Oct 24 '17 10:10 Whyser

Seems that the issue has been fixed in 2018.1.

I will put an additional checking there, in the next update.

dkrprasetya avatar Sep 02 '18 03:09 dkrprasetya