Search Issue Tracker
Won't Fix
Won't Fix in 2023.3.X
Votes
0
Found in
2021.3.19f1
2022.2.7f1
2022.3.13f1
2023.1.0b4
2023.2.0a1
2023.3.0a3
Issue ID
UUM-27824
Regression
No
Text settings in UI Builder throw errors if the window loses focus
Steps to reproduce:
1. Dock the UI Builder window (Window > UI Toolkit > UI Builder) in the same tab group as the Game window (the UI Builder window should not be visible when switched to Game window and vice versa)
2. Add a Label to the default document in UI Builder
3. Scroll to Text settings in the Inspector and expand
4. Switch the active tab to Game view so that UI Builder window wouldn't be visible
6. Go back to UI Builder
7. Click on any Text Align buttons without selecting or deselecting anything
Note: this will reproduce after switching to any tab as long as UI Builder loses focus
Expected result: no errors are thrown and proper references to the selected label item are rebuilt after switching back to the UI Builder window
Actual result: an error is thrown when changing Text Align settings
NullReferenceException: Object reference not set to an instance of an object
Unity.UI.Builder.BuilderCanvasStyleControls.HorizontalTextAlignUpdateToggleIcon () (at /Users/bokken/build/output/unity/unity/Modules/UIBuilder/Editor/Builder/Viewport/BuilderCanvasStyleControls.cs:330)
Reproducible with: 2021.1.0f1, 2022.2.0a1, 2023.1.0b5, 2023.2.0a3
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Fixed in recent versions of 2023.3 by unknown PR.
Resolution Note (2023.3.X):
Fixed in recent versions of 2023.3 by unknown PR.