Hi,
after always having problems with saving and loading games, we updated to Adventure Creator 1.60.2 (and Unity 2017.2). The new system seems to help us, but we're still experiencing a few weirdnesses we still have to figure out.
It somehow seems that we see problems we have in Builds directly while in the editor they only occur when we save and load a scene. For example: In one scene we had a character that in the build was suddenly turned upside down. In the Unity Editor this didn't happen. But when we then saved and loaded the scene in the Editor, we suddenly experienced the same bug we saw in the Build without saving and loading.
In this case, we could solve the problem with removing the RememberNPC script from the character which wasn't needed for this character anyways. The character is rotated around 180° - RemeberNPC destroys this rotation when loading the scene. This might be a whole different thing to discuss.
We'd like to find out if there's any way to force the editor to show the same behavior as builds since bugs in the builds now often come as a surprise to us. Do builds handle the remember scripts differently than the editor? If the character was turned upside down in the Editor earlier, we would have found that bug much easier. I suspect that there are a lot more bugs we only see in builds or when loading within the Editor right now.
Any thoughts?
Thank you!
Comments
AC's code is largely the same when running in builds vs the Editor, but if you're running on a separate device than the one you're working on then there may be something specific to that device that causes a difference.
If you can post the issues with full details, ideally with steps to reliably recreate them, then I'll of course look into them.
If you don't have an idea, don't worry to much about this for now and I will just get back to you if I stumble upon the problem elsewhere again.
I would recommend disabling Json and seeing if that makes a difference.