Page MenuHome

Using Remove Single Override breaks file loading (crash)
Closed, ResolvedPublic

Description

Blender Version

Broken: 2.81 95f020c853d6, master

Short description of error

Using the Remove Single Override context menu option on an array property to remove overrides from 'unneeded' components and then saving creates a file that crashes on load.

Exact steps for others to reproduce the error

Link in a rig, override it, move a bone, use Remove Single Override on one or two of the location channels.

Rig for linking:

Linked with override on all location channels:

Linked with override on just two location channels (crashes on load):

The code crashes while trying to index the array property as a collection; in a debug build this triggers an assert.