Search Issue Tracker

Active

Votes

0

Found in

6000.0.6f1

Issue ID

UUM-73858

Regression

Yes

Errors are thrown when selecting a Sprite with a custom default TextureImporter Preset

--

-

How to reproduce:
1. Open the attached project "PlatformTextureSettings.zip"
2. In the Project window select "Assets/grab.png"
3. Observe the Console

Expected result: No errors are thrown in the Console
Actual result: "UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?" is thrown in the Console

Reproducible with: 2023.3.0a11, 6000.0.6f1
Not reproducible with: 2021.3.39f1, 2022.3.33f1, 2023.3.0a10

Notes:
- The "SpriteDefault" preset is set up as the default preset for textures
- Changing "buildTarget: iPhone" to "buildTarget: iOS" in the texture's meta file fixes the issue for that texture
- Changing "value: iPhone" to "value: iOS" in the preset file fixes the issue when inspecting the preset as well as for newly added textures
- The Preset was originally created in Unity 2022.2.5f1, upgraded to various versions in 2022.2/3, and finally to Unity 6
- Issue does not reproduce, if iOS support is not installed

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.