Closed ShockWave2048 closed 7 years ago
Have simple switch scenes (inherited from StarlingScene), Menu->Level->Menu. CitrusEngine.getInstance().scene = new Level; After second call new level scene, it's start (playing some tasks before) and crash with _poolObjects refs to null ((
CitrusEngine.getInstance().scene = new Level;
Can you provide a simple reproducible case?
I'm closing this issue since we now have the SceneManager and that may have solved it, if it didn't please provide a sample.
Have simple switch scenes (inherited from StarlingScene), Menu->Level->Menu.
CitrusEngine.getInstance().scene = new Level;
After second call new level scene, it's start (playing some tasks before) and crash with _poolObjects refs to null ((