When using the function LootLockerSDKManager.GetAssetListWithCount() on an Android device, there will be a runtime error when receiving the response.
There is a workaround that you can do that does not impact anything in your game, it is just some more steps to setup.
Workaround
- Go to
Window -> Package manager, click the plus-sign in the top-left corner, "Add package by name"
- Paste this;
com.unity.nuget.newtonsoft-json
- Click Add
- Wait for the package to install
- Go to
Project Settings -> Player -> scroll down to Scripting Define Symbols and add LOOTLOCKER_USE_NEWTONSOFTJSON
- All done!
Note: If you already have NewtonSoft installed in your project, you can skip step 1 to 4.
We are aware of this issue and are working on a solution.