Search Issue Tracker
Fixed
Fixed in 2022.3.5f1, 2023.1.5f1, 2023.2.0a23
Votes
2
Found in
2022.3.1f1
2023.1.0b21
2023.2.0a18
Issue ID
UUM-39988
Regression
No
NullReferenceException is thrown when instantiating a VisualElement created from a visualTreeAssetSource and there are multiple UI Documents in the Scene
How to reproduce:
1. Open the attached user project “HierarchyBug.zip“
2. Open the “SampleScene” Scene
3. Enter Play Mode
Expected result: No errors in the Console
Actual result: “NullReferenceException“ error in the Console
Reproducible with: 2022.1.0a6, 2022.3.1f1, 2023.1.0b21, 2023.2.0a18
Not reproducible with: 2021.3.27f1, 2022.1.0a5
Reproduced on: macOS 13.4 (Intel)
Note: This only happens when there are more than one UI Documents in the scene. Disabling the “Panel2“ GameObject will not result in a “NullReferenceException“ error in the Console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Add comment