Some objects were not cleaned up when closing the scene. Bug?
Posted: Wed Apr 18, 2018 7:06 pm
I just implement this in tool in my game, and I noticed that resetting a level cause the following error:
I keep getting this error every time I reset the game, is not always, but 1 every 3 times I reset a scene. It's only happening if I don't have the "Destroy On Load" tick. The reason why we want that is because, if the player resets the level we want to reset the dialog and dialogs are quest dependent. I'm not sure if its a bug, or what, any suggestions?Some objects were not cleaned up when closing the scene. (Did you spawn new GameObjects from OnDestroy?)