[SOLVED] Error in playcanvas-stable.js when playing animation


Added a model to scene, add animation component and point it at any animation available.

Launch game, animation plays, but when it gets to the end or loops, I get this:

Uncaught TypeError: Cannot read property ‘_pos’ of undefined.

Any clues?

Thanks :slight_smile:

Could you please post link to project?

Sure: https://playcanv.as/p/l1tHroYK

That’s the link to the published build rather than the project :slight_smile:

Ah. Project’s private…

Hmm. There doesn’t seem to be any way to duplicate a project, so I can keep my project safe and unleash a separate version for everyone to rummage through. Also, the ability to keep a copy of my project seems to be a $100-a-month option!

Found the Fork option :wink:


This project is now private. Did you delete it or fix the problem?

Both :slight_smile:

Found that some of the animations didn’t hook up to the model properly, so once that was fixed and re-exported from Max everything was fine.

1 Like