Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.3.0a4
2018.4
2018.4.23f1
Issue ID
1249229
Regression
Yes
[Other] NullReferenceException errors are being thrown when switching to other platform
How to reproduce:
1. Create a new project
2. Switch to any other platform
Expected result: No NullReferenceExceptions are being thrown
Actual result: Few NullReferenceException errors are being thrown
Reproducible with: 2018.3.0a6, 2018.4.24f1
Not reproducible with: 2018.3.0a5, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Full error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditorInternal.AnimationWindowControl.GetAnimationModeDriver () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:486)
UnityEditorInternal.AnimationWindowControl.StopPreview () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:376)
UnityEditorInternal.AnimationWindowControl.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:105)
UnityEditorInternal.AnimationWindowState.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowState.cs:315)
UnityEditor.AnimEditor.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimEditor.cs:349)
Notes:
- Tested with WebGL, iOS, and UWP
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (2021.1.X):
We could not reproduce on 2019 onwards so we are closing this issue