Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0a2
Issue ID
745089
Regression
No
[Animator Controller] Remove of state in Animator Controller in Survival Shooter causes multiple NullReferenceExceptions
1. Import Survival Shooter 5.
2. Open Animator Window.
3. Go to _CompletedAssets -> Animation -> PlayerAnimatorController.
4. In Animator Window delete Move state.
Alternative reproduction steps:
1. Create new project
2. Download & Import Mecanim Example Scenes from Asset Store
3. Select any animation in the Controlls folder
4. Select first state (orange)
5. Delete the state
Actual result: All graph in corrupts the window and graphs. Multiple errors in console:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.AnimationStateMachine.Graph.CreateAnyStateEdges (UnityEditor.Animations.AnimatorStateTransition transition) .......
The anim.controller file get's corrupted permanently.
Reproduces in 5.2.2p1, 5.3.x, 5.4.a2.
Win 8.1 / Mac 10.9
Expected result: No errors in log, state is deleted, all rest graph stays in Animator Window.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
Add comment