"Could not register property modification for animation binding" error on the very first blendshape preview mangles the dummy permanently
Closed this issue · 1 comments
hai-vr commented
Could not register property modification for animation binding m_BlendShapeWeights.Array.data[11] of object Body, modifications will not be automatically reverted
hai-vr commented
Found repro steps:
- Create a skinned mesh renderer that has blend shapes
- Do not modify the blendshapes
- Automatically generate a dummy
- Play an animation
- This mangles the dummy skinned mesh renderer
However:
- Create a skinned mesh renderer that has blend shapes
- Change the value of one of the blendshapes
- Automatically generate a dummy
- Play an animation
- This does NOT mangle the dummy skinned mesh renderer
Possible explanation:
When a skinned mesh renderer is created, it has all weights set to 0, but this is internally represented as an empty array.
Modifying the value of one of the blendshapes effectively changes the empty array into a properly sized array.
Maybe the Animation Sampling fails to take unfit array sized into account when the first animation is sampled.