Closed brrritssocold closed 5 years ago
Hmm this is interesting, debug build completes without issues on local machines. I will look into it.
This test seems to always fail. At least in the debug build.
Yeah, I'm trying to see if I can reproduce the issue with a debugger attached. If that is not possible, adding logging code to figure out what is going on.
Been busy the past few days, so have not gotten round to it yet.
Ok, I reran the whole build just now and only the debug job fails. The release job finishes without errors. Kinda weird ...
Update to player 31 did not help either (build-dep)
Found the issue, preparing patch and investigating further why release build works and debug does not (although I already have a possible cause).
While the Serialization Util threw an Error, it was caught and a GUI error printed. The failure was detected only during loading, because data was missing.
As to why release works, possibly a race condition with the save file or something similar (if each test uses a new save file, test+UUID in my test case, release also fails).
Use serialization for items stored in the PC's inventory.
ItemSlot
is now serializableInventory
itemSlot
save / load codeInventory