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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- OnPointerExit and OnPointerEnter is mistakenly called when an overlapping child Image is destroyed
Add comment