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
- Colliders of GameObject with Rigidbody component fail to collide with another GameObject when Rigidbody becomes Kinematic
- Shader cache uploads occur when the "Upload" parameter is disabled in the Cache Server settings
- "ApplySingleProperty clear overrides error" error when applying SerializedReference override to Prefab's nested Prefab
- About Unity window shows extended version numbers including staging tag
- Mono release JIT incorrectly replaces long multiplication with a left-shift operation
Add comment