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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment