Search Issue Tracker
Fixed
Fixed in 6000.0.68f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a7
Votes
0
Found in
6000.0.63f1
6000.2.15f1
6000.3.0f1
6000.4.0a5
6000.5.0a2
Issue ID
UUM-129344
Regression
No
"NullReferenceException" thrown when modifying a UI Document while a Scene containing a GameObject with any UI Document and a missing script component is open
How to reproduce:
1. Open the attached project "IN-124664"
2. Open "SampleScene"
3. In the Project window open the "Assets/UIDoc" UI Document
4. In the UI Builder Hierarchy, select "VisualElement"
5. In the UI Builder Inspector, change Tabindex value
Actual result: "NullReferenceException: Object reference not set to an instance of an object" error is thrown in the Console
Expected result: No error is thrown in the Console
Reproducible with: 2022.1.0a1, 6000.0.63f1, 6000.2.15f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Workaround: Removing the missing script component
Note: error is thrown when modifying any value or adding elements into Hierarchy
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed in 6000.5.0a7
Resolution Note (fix version 6000.5.0a7):
Fixed in 6000.5.0a7
Resolution Note (fix version 6000.4.0b8):
Fixed in 6000.4.0b8
Resolution Note (fix version 6000.3.8f1):
Fixed in 6000.3.8f1
Resolution Note (fix version 6000.0.68f1):
Fixed in 6000.0.68f1