Jump to content

Error caused by destroy()


Biggerplay
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...