Page MenuHome

Merging bendy bones with the stretch to Constraint while using custom handle references crashes Blender
Closed, ArchivedPublic


System Information
Windows 10, 64-bit
GPU: RX-470

Blender Version
Broken: 2.79a Release Candidate and Experimental a3409d3
Worked: Never... I guess

Short description of error
Blender crashes...

Exact steps for others to reproduce the error

  1. Make an armature with the stretch to constraint from one bone to another.
  2. Use Bendy Bones and add custom handle references to the stretch to bones.
  3. Parent something to the armature with automagic weights.
  4. Go to Edit Mode and merge 2 bones within chains.
  5. Switch to Object Mode and Blender crashes
  6. Receive paranoia and spam Ctrl+S more often



Event Timeline

The problem is that when a bone used as a custom handle reference "goes missing" while in Edit Mode (e.g. by merging it directly, deleting it, or making it zero-sized and having it automatically removed), Blender will crash as it cannot resolve the missing custom-handle pointers after the change.

To solve this, we probably need to make this a Bone-level property instead, or have some way of resolving such missing links.

YimingWu (NicksBest) claimed this task.

Hi, New dev here! I wanted to claim this task. I propose performing an armature scan after bone removal was done, reset or remove handle settings in affected bone.
I'll post my diff later.

Demeter Dzadik (Mets) closed this task as Archived.

I'm pretty certain that this is a duplicate of T54009, so closing.