Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.0.0-preview.16
Issue ID
1360998
Regression
No
PlayerBuildSettings.BuildTarget returns the wrong value when UI Toolkit is installed
Reproduction steps:
1. Open the user's attached "UIToolkitInspectorIssue-2021.1.zip" project
2. In Assets click the New Player Build Settings Asset
3. In the Inspector (Window > General > Inspector) window click the "Print Current Build Setting" button
4. Observe the Console (Window > General > Console)
Expected result: The Console prints out a Build Target that is the same as the selected Build Target in the Inspector window
Actual result: The Console prints out a Build Target that is different from the selected Build Target in the Inspector window
Reproducible with: 1.0.0-preview.16 (2020.3.17f1, 2021.1.19f1)
Not reproducible with: 2021.2.0a1, 2021.2.0b9, 2022.1.0a6
Could not test with: 2019.4.30f1 (UI Toolkit not supported)
Note: The issue is not reproducible after uninstalling the UI Toolkit package
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
- 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
Resolution Note:
Fixed in: 2021.2.0a1 (Package built-in)