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

Package: Scriptable Render Pipeline HD

-

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

  1. Resolution Note (fix version 7.2.1):

    Fixed in 2020.2.0a1

  2. Resolution Note:

    Fixed in 2019.3.4f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.