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
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by another internal issue: UUM-57419: [TRND] Texture Import Settings cannot be changed when Switch Build Support is installed