Error when testing game.

Destroyy

  • Posts: 11
I made a few different versions, they all work fine. I decided to make one stage bigger and better, with more shapes and paths, it's pretty big if you ask me.

But now when I try testing the game I get an error(s)

Edit: If it helps, the game is a majorly modified version of Run an Gun.

Here is what I get:
[object AlchemyExit]
   at Function/<anonymous>()
   at Function/<anonymous>()
   at Box2DAS.Dynamics::b2Fixture()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/Box2DAS/Box2DAS/Dynamics/b2Fixture.as:25]
   at Box2DAS.Dynamics::b2Body/CreateFixture()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/Box2DAS/Box2DAS/Dynamics/b2Body.as:105]
   at stencyl.api.engine.actor::Actor/initBody()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/actor/Actor.as:494]
   at stencyl.api.engine.actor::Actor()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/actor/Actor.as:302]
   at stencyl.api.engine::GameState/loadTerrain()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:1361]
   at stencyl.api.engine::GameState/loadScene()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:539]
   at stencyl.api.engine::GameState/begin()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:300]
   at Function/<anonymous>()[C:\Users\Matthew\AppData\Roaming\Stencyl\stencylworks\preview\scripts\MyAssets.as:235]

Second Part:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at stencyl.api.engine::GameState/innerUpdate()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:1709]
   at stencyl.api.engine::GameState/postUpdate()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:1511]
   at stencyl.api.engine::GameState/update()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/root/stencyl/api/engine/GameState.as:1493]
   at org.flixel::FlxGame/update()[/home/stencyl/stencyl.net/jenkins/jobs/StencylWorks-Dist/workspace/plaf/flash/flixel/org/flixel/FlxGame.as:407]

rob1221

  • *
  • Posts: 9473
Is there an actor being crushed between two other actors or an actor and a tile?  You say you have a big stage, so you may also have a problem with a combined tile collision shape that is too complex.  I don't know the exact limits, but you may have to break the large groups of tiles up by deleting tiles and/or replacing the tiles with actors that look the same.

Destroyy

  • Posts: 11
Just solved my own problem. This particular error is caused when you have big clumps of blocks or parts together. I had cubes form pyramids. So what I did was I took the insides of the pyramids out. SO it still has the shape of a pyramid but the insides is empty. It completely solved the issue.

EDIT: Rob1221, you're right, i figured it out right when you posted, thanks anyway!

solleader

  • Posts: 44
Just solved my own problem. This particular error is caused when you have big clumps of blocks or parts together. I had cubes form pyramids. So what I did was I took the insides of the pyramids out. SO it still has the shape of a pyramid but the insides is empty. It completely solved the issue.

EDIT: Rob1221, you're right, i figured it out right when you posted, thanks anyway!

well i think is this the way, i solved, by deleting the last part i created, so never stick to many actors togheter! ;D