eddieone Posted July 21, 2016 Share Posted July 21, 2016 Some times when leaving my game open or when one player leaves, I get a cryptic box2d error. Is this a bug? It's v102 Link to comment Share on other sites More sharing options...
eddieone Posted July 29, 2016 Author Share Posted July 29, 2016 I'm still getting box2d-plugin-full.js:23153 Uncaught TypeError: Cannot read property 'GetType' of null Link to comment Share on other sites More sharing options...
Puflo Posted September 15, 2017 Share Posted September 15, 2017 I'm having the same problem, been working on a solution but i couldn't fix it. It happens when you destroy a sprite with box2d body, especially when you are switching browser tabs. Quote box2d-plugin-full.min.js:9 Uncaught TypeError: Cannot read property 'GetType' of null at box2d.b2Fixture.GetType (box2d-plugin-full.min.js:9) at box2d.b2ContactFactory.Create (box2d-plugin-full.min.js:9) at box2d.b2ContactManager.AddPair (box2d-plugin-full.min.js:9) at box2d.b2BroadPhase.UpdatePairs (box2d-plugin-full.min.js:9) at box2d.b2ContactManager.FindNewContacts (box2d-plugin-full.min.js:9) at box2d.b2World.Step (box2d-plugin-full.min.js:11) at Phaser.Physics.Box2D.update (box2d-plugin-full.min.js:13) at i.Physics.update (phaser.min.js:3) at i.Game.updateLogic (phaser.min.js:3) at i.Game.update (phaser.min.js:3) (Sorry for bumping an old thread) Link to comment Share on other sites More sharing options...
Recommended Posts