Search Issue Tracker
Fixed
Won't Fix in 2022.1.X
Fixed in 2022.2.4f1, 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.
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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note (2022.1.X):
Backport to branch 2022.1 has stopped as it reached end of life.