Hey!
I've been having a problem playing my games lately. When I press test game it goes on like normal, but when I hit the play button on my main screen the screen goes black and a popup appears with this message: TypeError: Error #1009: Cannot access a property or method of a null object reference.
at stencyl.api.engine::GameState/createActor()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:938]
at stencyl.api.engine::GameState/loadActors()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:779]
at stencyl.api.engine::GameState/loadScene()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:547]
at stencyl.api.engine::GameState/enterScene()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:447]
at stencyl.api.engine::GameState/update()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:1464]
at org.flixel::FlxGame/update()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/flixel/org/flixel/FlxGame.as:407]
The same thing happens when I publish it to SWF. I haven't tried the other formats yet, though. It seems like it came on overnight, because I had not made any big changes to the game before this. The last thing that I had done before this error started was delete an actor (it was a menu button) that had no behaviors attached to it just yet. Being I deleted the actor before deleting it from the scene, could this have caused the problem?
In the error it mentions API (stencyl.api.engine), so I thought it may have been something wrong with the Kongregate API blocks I'd used, but I deactivated all of them before testing the game, and the game was working fine even with those blocks in it.
So yeah, I don't know what to do. I've looked on the forums and found a couple problems that seemed to be similar. On one there was a suggestion to reinstall Stencyl. I'm all for trying that, as long as my projects will not be carried over to the reinstalled/next version of Stencyl and not deleted. Any help would be appreciated! I've never had this problem before.