-
Notifications
You must be signed in to change notification settings - Fork 39
WWW.EscapeURL(...) causes error? #21
Description
I'm not really sure if this is related to your code or a Firebase-change or something else, but it's super weird. I'm not using the latest version of your code, but I started receiving "Permission Denied" from nowhere when making requests (have not touched Firebase-part of the code in probably +6months). I found the issue being the use of WWW.EscapeURL(...) on multiple places inside Firebase.cs which hasn't been an issue before, but if I remove the EscapeURL(...) everything works as expected. Currently using Unity 2017.4.10f1 (haven't updated in a long time). My Firebase rules state that I need Auth parameters, but when escaping the auth=kjbandkjbnasfjkasfkjb it will not be "valid" (it will work if I don't escape it).
How can this be? Since I haven't updated Unity it shouldn't be the problem and this issue is occuring both in the Editor and on Android device (haven't tested iOS) which makes me lean towards a Firebase issue.
I've contacted Firebase about this to see if they know anything more, but would be great if you can confirm if this is an issue for you as well (as you might need to remove the EscapeURL).