Game not loading

RayonMazter

  • Posts: 123
My game loads locally, but when uploaded to mochi, I receive this in the debugger (and the game does not load at all).

Code: [Select]
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at org.flixel::FlxPreloader()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/flixel/org/flixel/FlxPreloader.as:120]
at scripts::Preloader()[.....\Application Data\Stencyl\stencylworks\preview\scripts\Preloader.as:17]

I recall this issue that I received on my first project, that ended up preventing me from getting a sponsorship, as the sponsors preloader caused this as well.

This issue, however, prevents me from posting the game even on mochi (live updates), and is occurring with 2 games. What is this error about, and what is the work around?

rob1221

  • *
  • Posts: 9448
The error is related to the Flixel preloader, and unfortunately I don't think there's a workaround.  You can't use live updates.

RayonMazter

  • Posts: 123
Are pro members able to disable this, or remove this? This is somewhat of a sponsor-breaking feature in many cases, being unable to preload/load a game in a separate swf.


rob1221

  • *
  • Posts: 9448
Nope, Pro won't help and AFAIK neither will code since you can't modify the preloader code.  You're right about this being a sponsor-breaking feature in some cases.

RayonMazter

  • Posts: 123
That is unfortunate. I understand the team is really busy with 3.0 right now...perhaps something they can hopefully take a good gander at in the future for flash purposes.


rob1221

  • *
  • Posts: 9448
3.0 doesn't use Flixel at all, so maybe the problem is or will be fixed, but I don't think anyone has tested it yet.  When 3.0 is ready enough for me to upgrade one of my games, I'll try live updates and see what happens.

RayonMazter

  • Posts: 123
That sounds great.

Thanks Rob.

jpeterson

  • Posts: 17
Alright I've been dealing with this problem for a WHIIILLLLEEEEE trying to get it to work, getting that same exact error, .swf file works fine by itself standalone which really blew my mind. Hopefully its fixed soon.. thank you guys for the help and info.