Hey!
Im currently having a problem. In my game by tapping/clicking a button you enter into a new scene where a minigame is supposed to start. Scene transition should be good, since I have it working elsewhere in the game and I copied that same code.
Here though, when the new scene is changed to, I wish to spawn a random amount of asteroids on the screen as sprites. However, when user enters to this scene the whole game crashes and I get the "object reference is not set to an instance of an object"
Here is the code of the minigame scene where the player enters when they click the button. It also says my add_child parameter is null. The individual asteroid scenes just include the sprite of the asteroid, nothing else.
Sorry for long post. My code is as a file bcs message too long