Search Issue Tracker

In Progress

Fixed in 2022.3.51f1, 6000.0.23f1, 6000.1.0a1

Fix In Review for 7000.0.0a10

Votes

34

Found in

2022.3.32f1

6000.0.5f1

6000.1.0a7

7000.0.0a1

Issue ID

UUM-73507

Regression

Yes

Crash when selecting a certain material

--

-

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
<...>

  1. Resolution Note (fix version 7000.0.0a10):

    Prevent user from deleting a parent material without reparenting its children

  2. Resolution Note (fix version 2022.3.51f1):

    Prevent user from deleting a parent material without reparenting its children

Comments (1)

  1. yslab

    Sep 24, 2024 06:48

    Hello Unity team, when can we expect it? This is a critical

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.