Search Issue Tracker
Fixed in 2019.3.X
Votes
1
Found in
2019.1.0b1
2019.1.11f1
2019.2.0a1
2019.3.0a1
Issue ID
1171433
Regression
Yes
MissingReferenceExceptions are thrown when changing UI parent Canvas to disabled Canvas during play mode
How to reproduce:
1. Open the "SampleScene" in the attached "case_1171433_Repro" project
2. Press "Play"
3. Select any of the dropdown menu elements
Expected results: Dropdown will become invisible, as the new parent Canvas is disabled
Actual results: MissingReferenceException errors are thrown
Reproducible with: 2019.1.0b1, 2019.1.14f1, 2019.2.01f1, 2019.3.0a11
Not reproducible with: 2017.4.31f1, 2018.4.6f1, 2019.1.0a14
Additional notes:
The warnings about missing script under the Main Camera GameObject do not cause these errors and can be safely ignored if they are thrown.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment