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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment