Search Issue Tracker

Fixed

Fixed in 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a18

Votes

0

Found in

2020.3.40f1

2021.3.10f1

2022.1.17f1

2022.2.0b8

2023.1.0a11

Issue ID

UUM-15361

Regression

Yes

Unable to get textureOverrideSettings from BuildPipeline.GetBuildTargetName when trying to pass in the platform string

--

-

Reproduction steps:

# Open the attached project “PlatformStringTest.zip“
# Run the menu item PlatformSettings > GetSettingsForSwitch

Expected result: “Converted Platform string::: Nintendo Switch” is printed out in the Console
Actual result: “Converted Platform string::: Switch” is printed out in the Console

Reproducible with: 2020.3.38f1, 2020.3.40f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Not reproducible with: 2020.3.37f1

Reproduced on: Windows 10 Pro

Note: The platform string from BuildPipeline.GetBuildTargetName should be converted to the right and acceptable string for TextureImporterPlatformSettings.GetPlatformTextureSettings internally

  1. Resolution Note (fix version 2023.1.0a18):

    Fixed in: 2023.1.0a18

  2. Resolution Note (fix version 2022.1.23f1):

    Fixed in: 2022.1.23f1

  3. Resolution Note (fix version 2020.3.42f1):

    Fixed in: 2020.3.42f1

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.