How to reproduce:
1. Open the attached “ReproProject“ project
2. Select “Assets/colores/naranja.mat“ material
Reproducible with: 2022.2.0a7, 2022.3.32f1, 6000.0.5f1
Not reproducible with: 2021.3.39f1, 2022.2.0a6
Reproducible on: macOS 14.5 Sonoma (Intel)
Not reproducible on: No other environment tested
First few lines of the stack trace:
at <unknown> <0xffffffff>
at UnityEditor.ShaderUtil.GetMaterialProperty (UnityEngine.Object[],int) [0x00001] in /Users/bokken/build/output/unity/unity/Editor/Mono/ShaderUtil.bindings.cs:282
<...>
at UnityEditor.MaterialEditor.GetMaterialProperty (UnityEngine.Object[],int) [0x00030] in /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/MaterialEditor.cs:2147
at UnityEditor.MaterialEditor.ApplyMaterialPropertyDrawers (UnityEngine.Object[]) [0x00074] in /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/MaterialEditor.cs:2452
at UnityEditor.MaterialEditor.ApplyMaterialPropertyDrawersFromNative (UnityEngine.Material) [0x0000c] in /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/MaterialEditor.cs:2432
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0002d] in <0d15554726044eedabce4cbe106efa8e>:0
<...>