Offline user has invalid PlayerID
This is an issue when using WebPreferences. Instead of receiving a random UUID, it gets set to the username. When WebPreferencesManager.getLocalPreferences
is called, there is a crash.
-
Reassigned to @Mumfrey
-
Status changed to closed by commit c2d5a299
-
Turns out what I was thinking of was the get game profile. I've added full support for offline graceful degredation to webprefs now. Basically when offline you will only get an offline prefs store for local player, or a dummy (no-op) prefs for any remote players. This should make it much easier to write client code for webprefs as you can just call the methods with impugnity and not worry about it blowing up if you're offline.
-
mentioned in commit 4c081d78
-
mentioned in commit c2d5a299