Search Issue Tracker
Fixed
Fixed in 2022.2.X, 2022.2.0a17
Votes
0
Found in
2022.2.0a11
2022.2.0a16
Issue ID
UUM-9499
Regression
Yes
[URP] Unity crashes when setting the Material in Mesh Renderer to "Default-Diffuse"
Reproduction steps:
1. Open the user's attached "My VR Template 1.zip" project
2. In the Hierarchy select "Triangle" GameObject
3. In the Inspector go to Mesh Renderer and set Materials to "Default-Diffuse"
Expected Result: Unity does not crash
Actual result: Unity crashes
Reproducible with: 14.0.2 (2022.2.0a11), 14.0.3 (2022.2.0a16)
Not reproducible with: 7.7.1 (2019.4.40f1), 10.10.0 (2020.3.37f1), 12.1.7 (2021.3.6f1), 13.1.8 (2022.1.10f1), 14.0.2 (2022.2.0a10), 14.0.3 (2022.2.0a17), 15.0.0 (2023.1.0a4)
First lines of the crash stacktrace:
0x00007ff6f6e36fdd (Unity) ShaderLab::Pass::ComputePassValuesHash
0x00007ff6f6e11af6 (Unity) Material::UpdateHashes
0x00007ff6f6e0272e (Unity) Material::BuildProperties
0x00007ff6f6e0a0c1 (Unity) Material::HasProperty
0x00007ff6f60f4aa4 (Unity) Material_CUSTOM_HasProperty
Notes:
-If the crash does not reproduce, creating a new Universal Render Pipeline Asset and setting it in Graphics settings should reproduce the issue.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
Add comment