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
- [Android][iOS] The keyboard closes and re-opens when consecutive input fields are selected
- Complex Sub Graph connected to a Voronoi node is ignored when the shader gets applied as a Material
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
Add comment