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
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
Add comment