Search Issue Tracker
Fixed
Fixed in 6000.2.0a6
Votes
0
Found in
6000.0.26f1
6000.1.0a4
6000.2.0a1
7000.0.0a9
Issue ID
UUM-86969
Regression
No
Docking Text Property Preview Window next to UI Builder breaks the window and causes NullReferenceException
Steps to reproduce:
- Open a Unity Project
- Open UI Builder via Window > UI Toolkit > UI Builder
- Create a new StyleSheet in the StyleSheets section via + > Create New USS. Give the file any name and Save it
- Select the new StyleSheet and add a Selector to it in the Inspector
- Expand the .uss file and select the created Selector.
- At the bottom of the inspector, there should be a 'Text Property Preview' section
- Click the More Option ( : ) menu and select 'Convert to Floating Window'
- Dock the floating UI Builder Text Property Preview Window next to UI Builder
Actual results: The UI Builder Window breaks (becomes completely blank) and a NullReferenceException is logged to console
Expected results: The Text Property Preview Window can be docked without breaking The UI Builder Window and causing errors.
Reproducible with versions: 6000.1.0a4, 6000.0.26f1
Not reproducible with versions: -
Can’t test with versions: 2022.3.52f1, 2021.3.45f1
Tested on (OS): Windows 10/11
Notes:
- Can not test with pre Unity 6 versions as they do not have Text Property Preview feature
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment