- Home /
Question by
vimago · Sep 11, 2014 at 01:51 PM ·
eventsevent-handling
Problems between GameEventManager and LoadScene
Hi everyone!!
I used Application.LoadLevelAdditive("Scene01") to reload my Scene.
At the beggining everything went right but suddenly my game crashed. There is an error which says that many objects have been destroyed and I am trying to access to them.
After revewing my code several times I found out that when I reload, everytime I try to trigger an event I get an error. This happens in every event in differents scripts.
What I am doing wrong? I hope it's something simple.
Comment
Best Answer
Answer by vimago · Sep 11, 2014 at 03:54 PM
Ok, I've found the solution of my issue here, I didn't unregistering my events
http://answers.unity3d.com/questions/497045/reloading-game-from-main-menu-problem.html