Search Issue Tracker
Fixed
Fixed in 2021.3.24f1, 2022.2.17f1, 2023.1.0b13, 2023.2.0a10
Votes
2
Found in
2021.3.22f1
2022.2.15f1
2023.1.0a24
Issue ID
UUM-21776
Regression
Yes
The Game view is black and the Editor throws a NullReferenceException after restarting the Editor when pressing the "Fix All" button in HDRP Wizard
Reproduction steps:
- Create a new project with com.unity.template.hdrp-blank (empty HDRP project)
- Go to Window → Rendering → HDRP Wizard
- In the HDRP Wizard window select the “HDRP + DXR” tab
- Click “Fix All” button
- Restart the editor when prompted
Expected result: The Game view is displayed normally, with no error in the Console
Actual result: The Game view is black and error in the Console
Reproducible with: 2023.1.0a21, 2023.1.0a24
Not reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a20
Reproduced on: Windows 10
Note: Is not reproducible if the project is created from the blank 3D template (com.unity.template.3d) and then proceeding with HDRP Wizard setup.
The part of the error:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.UpdateShaderVariablesRaytracingCB (UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.CommandBuffer cmd) (at ./Library/PackageCache/com.unity.render-pipelines.high-
Comments (4)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Annassai
Mar 07, 2023 03:21
Deeja
Haply-Oliver
Feb 01, 2023 15:50
It appears that HDRenderPipeline.m_RayCountManager is null
Haply-Oliver
Feb 01, 2023 15:49
I'm experiencing this with 2021.3.17f1, HDRP 12.1.9