Search Issue Tracker

Fixed

Fixed in 2023.1.16f1, 2023.2.0b12, 2023.3.0a7

Votes

10

Found in

2023.1.14f1

2023.2.0b2

2023.3.0a5

Issue ID

UUM-44737

Regression

Yes

"UnityException: Could not find the requested Platform Texture Settings" error is thrown when selecting a texture when the Dedicated Server Build Support module is installed and the Build Target is missing from the texture's metadata

--

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. In the Project Window, select “Assets/Tex/leather.png” Texture
3. Observe the Console Window

Expected result: No error is thrown
Actual result: “UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?” error is thrown

Reproducible with: 2023.2.0a15, 2023.2.0b2
Not reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0a14

Reproducible on: Intel macOS 13.5, Windows 11

Notes:
* The error is only thrown if the Inspector Window is open
* The Import Settings can not be altered as well and attempting to do so throws the same error
* Selecting the “Assets/Tex/fabric.png” Texture does not result in the error. The difference between these Textures is that the “fabric.png” has “buildTarget: Server” in its metadata

Comments (12)

  1. dFlynnSo

    Aug 24, 2023 12:24

    Same in clean created Project with 2023.1.10f1

    UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?
    UnityEditor.TextureImportPlatformSettings.CacheSerializedProperties (UnityEditor.SerializedProperty platformSettingsArray) (at <8059afc4969f4faea44ce7e8d8dd149e>:0)
    UnityEditor.TextureImporterInspector.<OnInspectorGUI>b__118_1 (UnityEditor.TextureImportPlatformSettings settings) (at <8059afc4969f4faea44ce7e8d8dd149e>:0)
    System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <c4a10e89722742a4b5cd750857e291eb>:0)
    UnityEditor.TextureImporterInspector.OnInspectorGUI () (at <8059afc4969f4faea44ce7e8d8dd149e>:0)
    UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.<CreateInspectorElementUsingIMGUI>b__0 () (at <8059afc4969f4faea44ce7e8d8dd149e>:0)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

  2. Loden_Heathen

    Aug 14, 2023 16:41

    We have this issue in Unity 2023.1.8f1
    Cant seem to import .png at all in a clean new project when using HDRP

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.