I'm working on a game. I have 30 levels. I spawn a level and destroy the old level at the end of each level. level 0 till 20 works perfect but after that it crashes when it loads the next level. all the levels are in 1 gameobject array.
If I put level 21 in the first place of the array it still happens, I rebuild the levels, checked my code but I just cant find the problem.
the error is a Access Violation(0xc0000005).
My error logs: [error logs][1]
I also tried alot of other things, reimporting the project, check all the project settings and shader settings, build in older version of Unity, build on other computer.
Some one please help me, because I don't know what to do anymore.
[1]: /storage/temp/86551-errorlogs.zip
↧