- Home /
Question by
Vox Nephila · Jun 07, 2013 at 04:17 AM ·
optimizationloadlevelcachecaching
Unity is caching my levels
Whenever I go back to a previously loaded level, it will leave off where I exited the level. I do not want this behavior and can not figure out how to clear this "cache" it's creating. I am using LoadLevel() to load all of my levels. I also do not have any DontDestroyOnLoad() calls.
This is not a webplayer game, and is happening in both the editor and the standalone build.
Comment
Best Answer
Answer by Vox Nephila · Jun 07, 2013 at 05:39 AM
Fixed my own issue.. I just had to set the static variables I was using back to their default values in Start().