Mesh Morph "Set Weight" not working after changing scenes

Hi PlayCanvas Enthusiasts,

I have encountered the following issue: When I use “setWeight” on a morph instance, it works like expected. But when I change the scene to another scene and back, the setWeight method doesn’t work anymore. I have created a small sample project: https://playcanvas.com/project/752588/

Any hints appreciated!
Rene

EDIT: Found out that the issue doesn’t exist in v1.27 of the engine, but in v1.28

WORKS: http://launch.playcanvas.com/1065696?debug=true&use_local_engine=https://code.playcanvas.com/playcanvas-1.27.0.js

DOESN’T WORK: http://launch.playcanvas.com/1065696?debug=true&use_local_engine=https://code.playcanvas.com/playcanvas-1.28.0.js

Git Issue: https://github.com/playcanvas/engine/issues/2686

2 Likes

thanks for the repro, I’ll have a look!

1 Like