engine icon indicating copy to clipboard operation
engine copied to clipboard

Shape key / morph key bug

Open Astra308 opened this issue 2 years ago • 1 comments

After the v1.55.3 update basic animations using shape keys / morph keys break, producing this runtime error:

ASSERT FAILED: Cannot find morph target with name: 0

I have reproduced the error in this open project: Example project The icososphere model ('Test_shapeKeys') has been imported from Blender as an FBX file and automatically converted to GLB in Playcanvas. The animation is all in one file and played on loop using an animation state graph. The model is supposed to deform right after doing the jump. Instead it produces multiple errors as decribed above. Both the jump and deform are driven by bones, but the former by weights and the latter by shape keys.

When deformed the icososphere is supposed to look like this: ShapeKeyBug

While in Playcanvas looks like this: image

Reverting to the previous version removes the error.

Astra308 avatar Aug 08 '22 14:08 Astra308

https://github.com/playcanvas/engine/issues/4520

mvaligursky avatar Aug 08 '22 14:08 mvaligursky