Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b18
Issue ID
658415
Regression
Yes
Error on deleting layer in Animator Controller
Error on deleting layer in Animator Controller
2) How can we reproduce it using the example you attached
1 Create new project
2 Create New Animator Controller and open it (you should be on the "Base layer")
3 Add one more layer (" "-button)
4 Delete this new created layer
Actual result: notice error in console
MissingReferenceException: The object of type 'AnimatorStateMachine' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEditor.Animations.AnimatorStateMachine.get_anyStatePosition () (at C:/buildslave/unity/build/artifacts/generated/common/editor/StateMachineBindings.gen.cs:400)
UnityEditor.Graphs.AnimationStateMachine.Graph.ReadAnyStatePosition (UnityEditor.Graphs.AnimationStateMachine.AnyStateNode anyStateNode) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/Graph.cs:513)
UnityEditor.Graphs.AnimationStateMachine.Graph.ReadNodePositions () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/Graph.cs:507)
UnityEditor.Graphs.AnimatorControllerTool.ControllerDirty () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:222)
UnityEditor.Animations.AnimatorController.OnInvalidateAnimatorController (UnityEditor.Animations.AnimatorController controller) (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimatorController.cs:34)
UnityEditor.DockArea:OnGUI()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Add comment