Search Issue Tracker
Fixed in 2022.2.4f1
Fixed in 2023.1.0a19
Votes
0
Found in
2022.1.9f1
2022.2.0b1
2023.1.0a3
Issue ID
UUM-14391
Regression
Yes
NullReferenceException when clicking on the Transition from Any State in Animator window after deleting Animator Controller and creating a new one
How to reproduce:
1. Open the attached project “AnimatorBug”
2. Open the “SampleScene”
3. Delete a “New Animator Controller” Animator Controller in the Assets folder
4. Create the new Animator Controller and attach it to the “GameObject” GameObject
5. Open the new Animator Controller and create an Empty State
6. Make a transition from Any State to the created State
7. Click on the Transition from Any State
8. Observe the Console
Expected result: There are no errors
Actual result: NullReferenceException errors appear
Reproduced with: 2022.1.0a6, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3
Not reproduced with: 2020.3.36f1, 2021.3.6f1, 2022.1.0a5
Reproduced on: Windows 11 Pro
Note:
-Not reproduced if the Animator Controller is not assigned to an Animator Component on the GameObject
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2022.2.4f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-7732
Resolution Note (fix version 2023.1.0a19):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-7732