Search Issue Tracker
Fixed in 7.1.5
Votes
0
Found in [Package]
5.16.1
Issue ID
1199948
Regression
Yes
[Vulkan] [HDRP] Freeze and/or crash when a Material with an HDRP shader and Opaque Surface Type is displayed in the Inspector
Steps to reproduce:
1. Open a project with HDRP
2. Set Graphics API to Vulkan (Edit -> Project Settings... -> Player -> Other Settings -> Rendering)
3. Create a Material that uses HDRP/Lit shader
4. Set the Material's Surface Type to Opaque
5. Create a GameObject and add a Mesh Renderer Component
6. Add the Material with the Opaque Surface Type to the Mesh Renderer
7. Duplicate the GameObject with the Mesh Renderer a couple times
8. Click on different GameObjects with the Mesh Renderer so they would be displayed in the Inspector
Expected results: Unity doesn't lag or crash
Actual results: Unity freezes, lag spikes and/or crashes
Reproducible with: 2019.3.0a6 (HDRP 5.16.1), 2019.2.15f1 (HDRP 6.9.0, 6.9.2), 2019.3.0a11 (HDRP 7.0.0), 2019.3.0b4 (HDRP 7.0.1, 7.1.1, 7.1.2)
Not reproducible with: 2019.3.0a6 (HDRP 5.13.0), 2020.1.0a14 (HDRP 7.1.5, 7.1.6)
First 3 lines of the stacktrace:
0x00007FFC9762F2EF (nvoglv64) vkGetInstanceProcAddr
0x00007FFC976236FF (nvoglv64) vkGetInstanceProcAddr
0x00007FFCEA0FC1C4 (vulkan-1) vkDestroyDescriptorPool
Notes:
- Unity might freeze or lag after the 4th step since displaying the Material in the Inspector also gives a repro
- Unity crashes without freezing or lag spikes on HDRP 5.16.1, 7.1.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
- "NullReferenceException" error thrown in UnityEditor.ObjectListArea when an audio clip is selected in one of two opened Project tabs while the second Project tab is not active/painted
Add comment