Search Issue Tracker
Fixed in 7.2.1
Votes
0
Found in [Package]
6.9.2
Issue ID
1218754
Regression
Yes
[HDRP][Metal] Crash on GfxDeviceMetalBase::CommonDrawSetup when selecting shader
How to reproduce:
1. Open the "ShaderCrash.zip" project
2. Select ~build/assets_other/ShaderHack/DUMMY - CopyDepth asset
3. If Unity haven't crashed, reimport the ShaderHack.asset
Actual result: Unity crashes.
Reproducible with: 2019.2.20f1 (6.9.2), 2019.3.2f1 (7.1.8), 2020.1.0a24 (7.2.1).
Not reproducible with: 2018.4.17f1. (4.1.0).
Notes:
- Not reproducible on Windows.
- Not reproducible without HDRP.
- 2018.4 (HDRP 4.1.0) doesn't crash, but causes an error when selecting shader:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.UpgradeResourcesIfNeeded () (at Library/PackageCache/com.unity.render-pipelines.high-
definition@4.10.0-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:356)
- Same and one more different crash is reproducible in case 1219198
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 7.2.1):
Fixed in 2020.2.0a1
Resolution Note:
Fixed in 2019.3.4f1