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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Add comment