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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note:
Fixed in: 2021.2.0a1 (Package built-in)