loicteixeira / gj-unity-api

[MOVED] Game Jolt API wrapper for Unity.
https://github.com/InfectedBytes/gj-unity-api/
MIT License
16 stars 13 forks source link

Unity 2017 login fail fix #74

Closed DanielJMus closed 7 years ago

DanielJMus commented 7 years ago

Fix for Unity 2017 always giving 'Wrong username and/or token.' error on login.

mgeorgedeveloper commented 7 years ago

I had some login errors suddenly this morning after upgrading to Unity 2017. Fix was to change a WWW result null check to "string.IsNullOrEmpty", since the WWW class is suddenly returning an empty string instead of null.

loicteixeira commented 7 years ago

Thanks for your help @DanielJMus and @mgeorgedeveloper and congratz on your first PR @DanielJMus!