Search Issue Tracker
Fixed
Fixed in 2022.3.35f1
Votes
1
Found in
2022.3.9f1
2023.1.12f1
2023.2.0b9
2023.3.0a5
Issue ID
UUM-48894
Regression
No
[HDRP] NullReferenceExxception when exiting Play Mode with HDRP + DLSS + XR
Steps to reproduce:
1. Open the attached user's project "HdrpDlssXrTest.zip"
2. Open "OutdoorScene.unity"
3. Enter Play Mode
4. Exit Play Mode
5. Observe the NullReference Exception
Expected results: NullReferenceExxception is not outputted when exiting Play Mode with HDRP + DLSS + XR
Actual results: NullReferenceExxception when exiting Play Mode with HDRP + DLSS + XR
Reproducible with: HDRP 14.0.8 - 17.0.0 (2022.3.9f1, 2023.1.12f1, 2023.2.0b9, 2023.3.0a5)
Could not test on 2021.3.30f1 due to DLSS no longer working
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
-Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.DLSSPass+ViewState.UpdateViewState (UnityEngine.Rendering.HighDefinition.DLSSPass+DlssViewData& viewData, UnityEngine.Rendering.CommandBuffer cmdBuffer) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition@14.0.8/Runtime/RenderPipeline/RenderPass/DLSSPass.cs:370)
UnityEngine.Rendering.HighDefinition.DLSSPass+CameraState.<SubmitCommands>g__RunPass|17_0 (UnityEngine.Rendering.HighDefinition.DLSSPass+ViewState viewState, UnityEngine.Rendering.CommandBuffer cmdBuffer, UnityEngine.Rendering.HighDefinition.DLSSPass+DlssViewData& viewData, UnityEngine.Rendering.HighDefinition.DLSSPass+ViewResources& viewResources, UnityEngine.Rendering.HighDefinition.DLSSPass+CameraState+<>c__DisplayClass17_0& ) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition@14.0.8/Runtime/RenderPipeline/RenderPass/DLSSPass.cs:515)
Comments (1)
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
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
theloraxgirl
Oct 09, 2023 19:39
Also experiencing this on windows 10 in 2022.3.8f1