Jump to content

solved: Adding a scene via this.scene.add('name') causes error on start


Recommended Posts

Uncaught TypeError: Cannot read property 'sys' of undefined

When I add the scene to the games config. It works perfectly.
But when I add a scene via a running the current scene to start it a bit later, I get the error.
The error is caused by adding a Scene via the Scene Manager (code below). This scene does exist with the gives name etc. doublechecked.

Does anyone know what I am doing wrong?

// adds a scene but throwing the error: sys of undefined.

// adds a scene but throwing the error: sys of undefined too


Link to comment
Share on other sites


  • Recently Browsing   0 members

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