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
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/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
Add comment