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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Fixed in: 2021.2.0a1 (Package built-in)