Search Issue Tracker
Fixed in 2022.2.4f1
Won't Fix in 2022.1.X
Fixed in 2022.2.X, 2023.1.X, 2023.1.0a19
Votes
0
Found in
2022.1.0a6
2022.1.8f1
2022.2.0a18
2023.1.0a2
Issue ID
UUM-7732
Regression
Yes
Getting 'NullReferenceException' when Animator "Any State" transition arrow is selected
How to reproduce:
- Create new project
- Create any GameObject in Hierarchy window
- Open Windows > Animation > Animation
- Create New Animation and Save
- Open Windows > Animation > Animator (important)
- Drag/Drop new Animation into Animator Controller window
- Right click on Any State Node
- Make transition to the added Animation
- Click on the Transition Arrow
- Observe the error in the Console window
Expected results: No errors
Actual results: Multiple errors are thrown in the Console window
{noformat}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.AnimationStateMachine.AnimatorStateTransitionInspector.DoErrorAndWarning () (at <b33671bcae5847dba5182ede845a38ef>:0)
UnityEditor.Graphs.AnimationStateMachine.AnimatorTransitionInspectorBase.OnInspectorGUI () (at <b33671bcae5847dba5182ede845a38ef>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass71_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <808fed1db5d34c2a9416f9a4a396d0d5>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&){noformat}
Reproducible on: 2022.1.0a6, 2022.1.8f1, 2022.2.0a18, 2023.1.0a2
Not reproducible on: 2022.1.0a5
Notes:
- Tested on : Win11, MacOS Silicon (Monterey 12.3.1)
- Moving mouse cursor around in the Inspector window throws more errors.
Comments (1)
-
Ghost_101010
Mar 03, 2023 09:05
Still happen in
2022.2.8f1
2022.2.7f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
Resolution Note (2022.1.X):
Backport to branch 2022.1 has stopped as it reached end of life.