Graph Editor broken after clicking Edit Mask. Unable to re open the animation graph.

Hi! I was working on a character animation controller using the new graph editor, i wanted to add a sprint animation with a mask to disable the root bone, so i clicked Edit Masks and the graph editor just crashed with the following error:

Error log
 ā–¶ Blend2DNode 'Walk': Duplicate position (0.000000, 1.000000) found. The node will only use the first-added input (x8)  -  Studio
  12:36:13.700  Blend2DNode 'Walk': Duplicate position (0.000000, 0.000000) found. The node will only use the first-added input  -  Studio
  12:36:52.714   ā–¶ SelectNode 'SelectNode': Selection 'Walk' is not an input pin name (x9)  -  Studio
  12:43:44.028  Error: table index is nil  -  Standalone
  12:43:44.028  sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:316: sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:293: 
------ Error caught by React ------
table index is nil
------ Error caught by React ------
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.AnimationEditor.AnimationEditor.Hooks.useSignalDispatcher:72
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.NodeGraphing.NodeGraphing.Components.CompositorNodes.RenderedCompositorPin:334
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberHooks.new:1562 function updateMemo
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.React.React.ReactHooks:248 function useMemo
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.NodeGraphing.NodeGraphing.Components.CompositorNodes.RenderedCompositorPin:330 function RenderedCompositorPin
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberHooks.new:3196 function renderWithHooks
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:209 function renderWithHooks
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:900 function updateFunctionComponent
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:668 function updateSimpleMemoComponent
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:3592 function beginWork
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:253
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1975
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1860
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1809
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:942
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:969
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.Scheduler:320
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.Scheduler:268
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:241 function doWork
sabuiltin_AnimationGraphEditor.rbxm.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:277 function performWorkUntilDeadline
  -  Standalone
  12:43:44.028  Stack Begin  -  Studio
  12:43:44.028  Script 'AnimationGraphEditor.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default', Line 316  -  Studio
  12:43:44.028  Stack End  -  Studio

Here is a picture of how the graph looked before the crash. Most of the right nodes are not related to the issue, they are the original animation, i added the left sprint clone to test how it would look.

After the initial crash the graph editor window closed and i was unable to open the graph editor unless i closed roblox studio and open it again. Now when i try to open the broken graph i get this error

Error two
Error: table index is nil  -  Standalone
  12:58:09.276  PlaceVersionHistory.PlaceVersionHistory.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:316: PlaceVersionHistory.PlaceVersionHistory.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:293: 
------ Error caught by React ------
table index is nil
------ Error caught by React ------
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.AnimationEditor.AnimationEditor.Hooks.useSignalDispatcher:72
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.NodeGraphing.NodeGraphing.Components.CompositorNodes.RenderedCompositorPin:334
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberHooks.new:1541 function mountMemo
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.React.React.ReactHooks:248 function useMemo
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.NodeGraphing.NodeGraphing.Components.CompositorNodes.RenderedCompositorPin:330 function RenderedCompositorPin
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberHooks.new:3196 function renderWithHooks
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:209 function renderWithHooks
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:900 function updateFunctionComponent
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:668 function updateSimpleMemoComponent
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:482 function updateMemoComponent
AnimationGraphEditor.AnimationGraphEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:3583 function beginWork
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:253
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1975
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1860
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1809
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:942
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:969
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.Scheduler.Scheduler.Scheduler:320
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.Scheduler.Scheduler.Scheduler:268
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:241 function doWork
PlaceVersionHistory.PlaceVersionHistory.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:277 function performWorkUntilDeadline
  -  Standalone
  12:58:09.276  Stack Begin  -  Studio
  12:58:09.276  Script 'AnimationGraphEditor.AnimationGraphEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default', Line 316  -  Studio
  12:58:09.276  Stack End  -  Studio

This is an issue not just for the lost progress, but also because every time i open the graph editor it auto opens on the last graph unless you click on a separate graph in the explorer, so this is forcing me to reset studio every time i open the graph editor unless im careful to select the graph before clicking open

Expected behavior

I would expect the animation graph to not instantly crash both the Graph Editor and force me to reset roblox studio every time i open the graph editor with this graph enabled.

A private message is associated with this bug report

1 Like

Just encountered this exact bug.

In the case of this error, it can be fixed if you:

  1. Find the physical instance at which the animation graph data is saved. Might be under the character, probably under ServerStorage.
  2. Identify the Mask node whose child Mask ObjectValue has its Value as nil/empty.
  3. Delete that Mask node and restart Studio.

^ where you should check