Getting an error about json deserialization and LootLockers

Hello everyone,

I made a small game, that i uploaded yesterday on itch.io. Everything was working smoothly, i had no error in the console, perfect. I’m working with LootLockers to have an online leaderboard. I relaunched the project a few hours ago to make some changes, and i got this out of nowhere, as soon as the project was opened :

JsonException: JSO0005: JSON deserialization error detected at position 9. Unexpected 'u' character.
LLlibs.ZeroDepJson.Json.HandleException (System.Exception ex, LLlibs.ZeroDepJson.JsonOptions options) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:1505)
LLlibs.ZeroDepJson.Json.ReadNumberOrLiteral (System.IO.TextReader reader, LLlibs.ZeroDepJson.JsonOptions options, System.Boolean& arrayEnd) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:1270)
LLlibs.ZeroDepJson.Json.ReadValue (System.IO.TextReader reader, LLlibs.ZeroDepJson.JsonOptions options, System.Boolean arrayMode, System.Boolean& arrayEnd) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:1148)
LLlibs.ZeroDepJson.Json.ReadValue (System.IO.TextReader reader, LLlibs.ZeroDepJson.JsonOptions options) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:1093)
LLlibs.ZeroDepJson.Json.Deserialize (System.IO.TextReader reader, System.Type targetType, LLlibs.ZeroDepJson.JsonOptions options) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:172)
LLlibs.ZeroDepJson.Json.Deserialize (System.String text, System.Type targetType, LLlibs.ZeroDepJson.JsonOptions options) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:128)
LLlibs.ZeroDepJson.Json.Deserialize[T] (System.String text, LLlibs.ZeroDepJson.JsonOptions options) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Libraries/ZeroDepJson/ZeroDepJson.cs:152)
LootLocker.LootLockerJson.DeserializeObject[T] (System.String json, LLlibs.ZeroDepJson.JsonOptions options) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Client/LootLockerServerRequest.cs:73)
LootLocker.LootLockerJson.DeserializeObject[T] (System.String json) (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Client/LootLockerServerRequest.cs:68)
LootLocker.LootLockerServerApi+<>c__DisplayClass7_0+<<_SendRequest>g__coroutine|0>d.MoveNext () (at ./Library/PackageCache/com.lootlocker.lootlockersdk@e8557d1e0f/Runtime/Client/LootLockerServerApi.cs:134)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <c5ed782439084ef1bc2ad85eec89e9fe>:0)

LootLockers is not working anymore, even the connection window to LootLockers in the Editor creates a JSON error, i can’t get a grasp of what’s going on… And i didn’t find anything online.

Do you guys have some thoughts about all this ?

Have you looked at the JSON?

I had never heard of this JSON library before and when I looked it up it appears to be an almost unknown one that hasn’t had updates in months rather than a highly reputable and tested one like Newtonsoft JSON. Without seeing the JSON in question it’s impossible to say but it could be it can’t handle certain characters.

Well, i just left the editor open for a few hours and when i came back it was gone… Problem solved for now ! I tried to look at the JSON but couldn’t figure it out really.