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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment