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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note (fix version 7.2.1):
Fixed in 2020.2.0a1
Resolution Note:
Fixed in 2019.3.4f1