Jump to content

Pixi v3.02 Cannot read property 'Spine' of undefined


Recommended Posts

I'm in the process of upgrading a site that uses Spine animations to v3 of pixi (hoping this will fix some weird anomalies I've had in the past that I had to hack pretty hard to fix).  I tried modifying my existing code with the new standards and got stuck at the following error:


Uncaught TypeError: Cannot read property 'Spine' of undefined


I even tried using the provided examples on github and I get the same error.  Here's a snippet from one of the examples that shows where the code error is generated


function onAssetsLoaded(loader,res)
    // instantiate the spine animation
    dragon = new PIXI.spine.Spine(res.dragon.spineData);
    dragon.autoUpdate = false;
The rest of the examples load fine on my site, but all of the Spine examples give this error.
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...