Biggerplay Posted May 5, 2014 Share Posted May 5, 2014 I'm working on a game which needs to destroy() sprites when they are not needed. The problem is when I do that it's causing this error during the game Uncaught TypeError: Cannot read property 'length' of undefined phaser.min.js:6:30774 b.Signal.dispatch phaser.min.js:6:30774 b.Signal.dispatch phaser.min.js:6:29120 b.InputHandler._touchedHandler phaser.min.js:9:17906 b.Pointer.start phaser.min.js:8:23849 b.Mouse.onMouseDown phaser.min.js:8:18347 b.Mouse.start._onMouseDown phaser.min.js:8:17770 Does anyone have any idea what would cause such an error? Link to comment Share on other sites More sharing options...
Biggerplay Posted May 5, 2014 Author Share Posted May 5, 2014 I found this via google https://github.com/photonstorm/phaser/issues/746 And I updated to the latest version of Phaser and it seems to have fixed the issue Link to comment Share on other sites More sharing options...
Recommended Posts