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

Package: UI Toolkit

-

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

  1. Resolution Note:

    Fixed in: 2021.2.0a1 (Package built-in)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.