[SOLVED] Unloading animation issue

Hi guys,

it seems that we can’t unload an animation asset after we have destroyed an entity using the animation asset.

I have create a small repo project to demonstrate it. https://playcanv.as/b/56O6hj26/

Thanks a lot,

I can see a problem here, looks like related to some events not being removed from component when it is removed.
Will look into that.

Fixed, will be deployed soon.

Wow, that was fast! Thanks a lot!

Just to confirm, fix is deployed, please republish the app to use latest engine.

I’m not sure if it has something to do with your fix, but now all our project has errors. It seems that the material of the model is missing a clone function. playcanvas-stable.js:10549 Uncaught TypeError: this[pname].clone is not a function

That was slightly other bug indeed, fixed now.

1 Like