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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment