Search Issue Tracker

In Progress

Fix In Review for 2022.3.X

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)

  1. theloraxgirl

    Oct 09, 2023 19:39

    Also experiencing this on windows 10 in 2022.3.8f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.