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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment