Jump to content

Upgrading to Phaser v2.1.3 (from v2.0.7) force undefined errors


Recommended Posts


I just upgraded my game to Phaser 2.1.3. (from v2.0.7) but it force some weird errors...

- Especially PIXI is undefined. (I fixed that I load pixi.js to header)

- biggest problem is that Pathfinder Plugin stopped working...  (https://github.com/appsbu-de/phaser_plugin_pathfinding), maybe it is working but is not loaded


it's loaded like this:

pathfinder = game.plugins.add(Phaser.Plugin.PathFinderPlugin);


Please check my screenshot, I need some advice how to fix this to work on latest version of Phaser



Link to comment
Share on other sites

Either the phaser.min.js file isn't being linked correctly, or it has become corrupted. Because you absolutely shouldn't need to include pixi.js first, in fact doing so is less than ideal, and all the errors with things like Phaser.Group being undefined point to a problem with your set-up / project I'm afraid.

I'm not sure if the path plugin still works in 2.1.3 (it's a 3rd party one and I don't think has been updated yet?), if you need it to finish your current game then I'd suggest staying with 2.0.7 until it's done.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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