Search Issue Tracker
Not Reproducible
Votes
1
Found in
5.0.0f1
Issue ID
671621
Regression
No
AnimationMode getting NullReferenceException after Undo with Custom Editor Script
How to reproduce:
1. Open the attached project
2. Open "Bug" scene
3. Open Scene view and select "Char" in Hierarchy
4. In the Scene view press "Enable Preview" window
5. Make some changes wherever in editor and press "Ctrl+Z"
6. You will get an exception NullReferenceException: Object reference not set to an instance of an object
7. Open Animation window and do the same steps 3-5
8. Notice that Error message doesn't come up, you can even close animation window after that and do same steps error will not be thrown
9. Reimport "Bug.cs" and do the same steps
10. You will get error again
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
- Unity Hub opens instead of the Unity Editor when launching a project from a Windows command line if a backslash is added to the end of the project path
- "ParseErrorException" is thrown when parsing a float with a very small value from JSON
Add comment