Search Issue Tracker
Fixed
Fixed in 2023.2.11f1, 2023.3.0b7
Votes
0
Found in
2023.2.6f1
2023.3.0b3
Issue ID
UUM-60291
Regression
Yes
"NullReferenceException" is thrown in the Console when creating a Button with text set to null in a UI Document
Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Open the "Assets/Scenes/SampleScene.unity" scene
3. Enter the Play mode
4. Observe the Game view
Expected result: A clickable Button is displayed with no Console errors
Actual result: Button does not appear and an exception error can be seen in the Console “NullReferenceException: Object reference not set to an instance of an object"
Reproducible with: 2023.2.0a11, 2023.2.6f1, 2023.3.0b3
Not reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.0a10
Reproducible on: macOS Sonoma 14.2.1 (M1 Max), Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] ListView is flickering when scrolling over the end
- The Aspect Ratio Fitter Component on a Prefab displays a parent-related warning despite the Prefab's inability to have parents when "Envelope Parent" or "Fit In Parent" modes are used
- HDRP Color Picker preview rectangle doesn’t update when adjusting colors for Camera Background Type Color
- Progress indicator in Meta Quest Build Profile configuration is barely visible
- Slightly transparent objects disappear completely in Web Player when using RenderGraph
Add comment