Search Issue Tracker

Fixed

Votes

0

Found in

2023.3.0a16

Issue ID

UUM-57427

Regression

Yes

"UnityException: Could not find the requested Platform Texture Settings" error is thrown when selecting a Texture after its' Import Settings were changed and the project was upgraded

--

-

Reproduction steps:
1. Open the attached “in-61679.zip“ project in 2022.3.X or earlier version
2. Select “TextureTest.jpg“ Import Settings and change the Max Size in the Inspector
3. Apply the changes and upgrade the project to 2023.3.X version
4. Select “TextureTest.jpg“ Import Settings and observe the Console and the Inspector

Expected result: No error is thrown and the Inspector shows settings for different Platforms
Actual result: “UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?” error is thrown and settings for different Platforms are not shown in the Inspector

Reproducible with: 2023.3.0a11, 2023.3.0a16
Not reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.2f1, 2023.3.0a10

Reproduced on: Windows 11 Pro
Not reproduced on: No other environment tested

Notes:
- Full error:
”UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?
UnityEditor.TextureImportPlatformSettings.CacheSerializedProperties (UnityEditor.SerializedProperty platformSettingsArray) (at <9686d4a4f631406985a2d405a4df46ad>:0)
UnityEditor.TextureImporterInspector.<OnInspectorGUI>b__119_1 (UnityEditor.TextureImportPlatformSettings settings) (at <9686d4a4f631406985a2d405a4df46ad>:0)
System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <14e4a9820ff247cfb8572e39a43ae8fd>:0)
UnityEditor.TextureImporterInspector.OnInspectorGUI () (at <9686d4a4f631406985a2d405a4df46ad>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass74_0.<CreateInspectorElementUsingIMGUI>b__0 () (at <9686d4a4f631406985a2d405a4df46ad>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)”
- Issue is only reproducible after changes in Import Settings are applied and project is upgraded from 2021.3 or 2022.3 stream

  1. Resolution Note:

    Fixed by another internal issue: UUM-57419: [TRND] Texture Import Settings cannot be changed when Switch Build Support is 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.