DaVikingCode / Citrus-Engine

Modern AS3 Game Engine
http://citrusengine.com/
Other
549 stars 231 forks source link

MediatorScene._poolObjects after scene cycle, has null. #287

Closed ShockWave2048 closed 7 years ago

ShockWave2048 commented 8 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 ((

gsynuh commented 7 years ago

Can you provide a simple reproducible case?

gsynuh commented 7 years ago

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.