Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.2f1
Issue ID
896455
Regression
No
Entering or leaving play mode, or changing Editor color scheme throws "NullReferenceException" error
When entering or leaving play mode or even changing the color scheme in Preferences throws "NullReferenceException" error. When you double click on the error it comes up with a file that's missing an "Editor window" field.
Steps to reproduce:
1. Open attached project
2. Enter play mode
Optional: Go to Preferences -> Color and change around any of the colors for a more severe effect
3. Observe console for error message
Expected outcome: Nothing out of the ordinary happens. Play mode, color scheme changing throws no errors.
Actual outcome: Console throws "NullReferenceException" error each time some change in GUI happens.
The issue might be Layout related, because if you reset layout to default, the Errors stop appearing.
Reproduced on v 5.5.0p2, 5.5.2f1 and 5.5.3f1
Didn't reproduce on v 5.6.0b3, 2017.1.0a4
Couldn't do regression testing, because trying to open the project on an earlier build says the layout cannot be loaded and the default has to be used. (Getting rid of the error in the process)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment