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
- "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: 2021.2.0a1 (Package built-in)