Puzz3l Posted April 21, 2014 Share Posted April 21, 2014 So sometimes when I pause my game (not with game.paused, an overlay) or when I die and go to a game over overlay, I get this bug: Uncaught TypeError: Cannot read property 'length' of undefined phaser.min.dev.js:6b.Signal.dispatch phaser.min.dev.js:6dispatch phaser.min.dev.js:6b.InputHandler._pointerOutHandler phaser.min.dev.js:9b.Pointer.move phaser.min.dev.js:8b.Mouse.onMouseMove phaser.min.dev.js:8_onMouseMove phaser.min.dev.js:8Reload and do the same thing and it doesn't occur. Not sure what to do since the trace doesn't point to anything in my script. NOTE: I am using the dev build. Link to comment Share on other sites More sharing options...
Heppell08 Posted April 21, 2014 Share Posted April 21, 2014 You might want to run non minified version to properly look at the code in phaser that's failing. Its a mouse issue by the look of it but using the none minified will better tell you the cause. Link to comment Share on other sites More sharing options...
Puzz3l Posted April 21, 2014 Author Share Posted April 21, 2014 Good idea, I might try that. I also realized I no longer need to use the dev build for my game to work as I resolved the issue that forced me to use it, and I haven't seen the bug since. Link to comment Share on other sites More sharing options...
Recommended Posts