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
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
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
alemnunez
Sep 11, 2024 19:10
I also just found out that I had a preset for TextureImporter that was causing this error. Clicking on that preset "AlbedoTexture_Default" also displays the error in the console, so I disabled that importer preset and now all textures I add to the project work properly.
I have no idea why that preset suddenly started doing this, definitely a bug.
alemnunez
Sep 11, 2024 19:02
This is still happening in 6000.0.16f1, even without the Server module installed. In my case, I found I can fix the problem on a texture by changing the "serializedVersion" from 4 to 3 in all the platformSettings inside the .meta file
Is Unity saving the wrong serialized version and that's why CacheSerializedProperties is failing?
exiledgames_std
Jun 15, 2024 20:38
Update : a full delete of Library did fix the contents, along with not installing mac modules.
exiledgames_std
Jun 15, 2024 16:59
problem exist in 6000.0.4f1 and persists in 6000.0.5f1
hytka81
May 13, 2024 17:19
Encountering this in 6000.0.0f1 and 6000.0.1f1
blazex64
Oct 07, 2023 00:24
Still an issue with 2023.2.0.b11.3021.7889.
If I knew where the code was, I could fix it on my own.
GilJoWal
Sep 30, 2023 20:19
Same issue
UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?
UnityEditor.TextureImportPlatformSettings.CacheSerializedProperties (UnityEditor.SerializedProperty platformSettingsArray) (at <ff0947a462f14faa859dad8c7cd13591>:0)
UnityEditor.TextureImporterInspector.<OnInspectorGUI>b__118_1 (UnityEditor.TextureImportPlatformSettings settings) (at <ff0947a462f14faa859dad8c7cd13591>:0)
System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <07ba9f98d9794cf19aca0392570e5637>:0)
UnityEditor.TextureImporterInspector.OnInspectorGUI () (at <ff0947a462f14faa859dad8c7cd13591>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.<CreateInspectorElementUsingIMGUI>b__0 () (at <ff0947a462f14faa859dad8c7cd13591>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Queso2469
Sep 12, 2023 17:53
Breaks on 2023.1.1f1 with any new assets. Existing assets that other's have imported work fine on the install, but attempting to import new assets breaks them.
GXMark
Sep 10, 2023 18:28
Whats interesting is that an already created hdr will work when dropped in the HDRP Global Asset but it will still generate the error on console if clicked upon.
GXMark
Sep 10, 2023 18:25
I'm having same issue with unity 2023.1.10f1