Hi,
I have some scenes in my project that each of them are a seperate game. They works fine , but when i close one of them with
composer.removeScene( "scene name")
and open another one in their menu by
composer.gotoScene( "another scene name" , options )
on the above line an error occured :
Runtime error ?:0: attempt to index field 'contentBounds' (a nil value) stack traceback: ?: in function '\_saveSceneAndHide' ?: in function 'gotoScene' ?: in function \<?:221\>
By restart the simulator, all of scenes works fine on first run.
but, when run one of them, then remove it and go to the other one without restart corona simulator, makes the above error.
The other note is when i comment the removeScene line of a scene (i.e does not remove that scene) and then execute goToScene for another one, it works fine!
Any idea?
Thanks