Jon wrote:
One of my testers is running into this. This is an outlier case (1 out of about 100 active testers), but I do see a lot of occurrences of this on Google but no proposed solutions when it happens.
Any ideas?
(The Jon is *not* me. It's a coincidence that the tester has the same name.)
Code:
RangeError: Error #1506: The specified range is invalid.
at cmodule.Box2D::FSM__start/work()
at cmodule.Box2D::CRunner/work()
at cmodule.Box2D::CLibInit/init()
at Box2DAS.Common::b2Base$/initialize()[/Users/jon/Desktop/app/sandbox/enginef/Box2DAS/Box2DAS/Common/b2Base.as:32]
at app.api.engine::GameState/create()[/Users/jon/Desktop/app/sandbox/enginef/root/app/api/engine/GameState.as:180]
at org.flixel::FlxGame/switchState()[/Users/jon/Desktop/app/sandbox/enginef/flixel/org/flixel/FlxGame.as:188]
at org.flixel::FlxGame/create()[/Users/jon/Desktop/app/sandbox/enginef/flixel/org/flixel/FlxGame.as:485]
at cmodule.Box2D::FSM__start/work()
at cmodule.Box2D::CRunner/work()
at cmodule.Box2D::CLibInit/init()
at Box2DAS.Common::b2Base$/initialize()[/Users/jon/Desktop/app/sandbox/enginef/Box2DAS/Box2DAS/Common/b2Base.as:32]
at app.api.engine::GameState/create()[/Users/jon/Desktop/app/sandbox/enginef/root/app/api/engine/GameState.as:180]
at org.flixel::FlxGame/switchState()[/Users/jon/Desktop/app/sandbox/enginef/flixel/org/flixel/FlxGame.as:188]
at org.flixel::FlxGame/create()[/Users/jon/Desktop/app/sandbox/enginef/flixel/org/flixel/FlxGame.as:485]
Any ideas?
(The Jon is *not* me. It's a coincidence that the tester has the same name.)
found that quote on the big wck thread, didn't see a reply to it.
i have run into this error lately as well. at first i created a fresh fla and pasted the game back into it. and it fixed it. but now that its on the server its back, only my tests show it every time.
the error happens for me as soon as the game gotoAndStop's on a level.
Quote:
RangeError: Error #1506: The specified range is invalid.
at cmodule.Box2D::FSM__start/work()
at cmodule.Box2D::CRunner/work()
at cmodule.Box2D::CLibInit/init()
at Box2DAS.Common::b2Base$/initialize()
at Box2DAS.Dynamics::b2World()
at wck::World/create()
at misc::Entity/ensureCreated()
at wck::BodyShape/create()
at misc::Entity/ensureCreated()
at cmodule.Box2D::FSM__start/work()
at cmodule.Box2D::CRunner/work()
at cmodule.Box2D::CLibInit/init()
at Box2DAS.Common::b2Base$/initialize()
at Box2DAS.Dynamics::b2World()
at wck::World/create()
at misc::Entity/ensureCreated()
at wck::BodyShape/create()
at misc::Entity/ensureCreated()
also if your testers are just running the swf/html then "The Jon" is you, file locations in errors are based on the File locations of whom ever published the fla.
not that it's relevant, could save you from chasing your tail a bit though i guess.
i hope mayobutter might have some insight on what could cause this.