Search Issue Tracker

Not Reproducible

Votes

0

Found in [Package]

7.1.4

Issue ID

1198812

Regression

No

[HDRP] SurfaceOptionUIBlock.DoOpaqueRenderingPassPopup error when in wireframe dx12 and switching shader

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Open the "testScene" Scene in the "case_1184602.zip" Unity project
2. Switch to Wireframe scene view
3. Select the "Sphere" GameObject in the Hierarchy
4. Navigate to the GameObject's Material and change the Shader from "Standard" to "HDRP/Lit"
5. Observe the crash

Expected result: no errors

Actual result error and the sphere stops rendering:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.HighDefinition.SurfaceOptionUIBlock.DoOpaqueRenderingPassPopup (System.String text, System.Int32 inputValue,

Reproducible with: 2019.3.0b5 (HDRP 7.1.2), 2020.1.0a7 (HDRP 7.1.2)
Not reproducible with: 2018.4.10f1 (HDRP 4.10.0-preview), 2019.2.8f1 (HDRP 6.9.1-preview)
Could not test: 2017.4 (no HDRP)

Note: only reproducible when the Scene view Shading Mode is set to Wireframe or Shaded Wireframe and the Graphics API is set to Direct3D 12 (Experimental).
Parent case: https://fogbugz.unity3d.com/f/cases/1184602/

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.