Animation Editor breaks when there's no model PrimaryPart

I forgot to set the PrimaryPart on my rig’s model, and when I go to edit my rig by clicking on the animation editor then clicking on the rig, I get this error:

[18:35:48.455 - Plugin_AnimationEditor.rbxm.AnimationEditorRigBuilder.AnimationEditor.Code.ViewportScripts.ViewportScriptFlyCamera:69: attempt to index nil with 'CFrame'
18:35:48.456 - Stack Begin
[18:35:48.456 - Script 'Plugin_AnimationEditor.rbxm.AnimationEditorRigBuilder.AnimationEditor.Code.ViewportScripts.ViewportScriptFlyCamera', Line 69 - function focusCameraOnModel
[18:35:48.456 - Script 'Plugin_AnimationEditor.rbxm.AnimationEditorRigBuilder.AnimationEditor.Code.UtilityScripts.UtilityScriptRigSelection', Line 251 - function selectRig
[18:35:48.457 - Script 'Plugin_AnimationEditor.rbxm.AnimationEditorRigBuilder.AnimationEditor.Code.UtilityScripts.UtilityScriptRigSelection', Line 272
18:35:48.457 - Stack End

It then just generally breaks and I can’t use it. It breaks everytime.
However, this did not use to happen, but I’m not sure if that’s because of an update, or if I accidentaly unset my rig’s PrimaryPart.

I am not using the beta Animation Editor.

Overall the bug started maybe a little over a month ago.

Tis is an example of a rig that always errors and breaks the editor:
BrokenCrabRig.rbxm (6.0 KB)

1 Like