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)
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
theloraxgirl
Oct 09, 2023 19:39
Also experiencing this on windows 10 in 2022.3.8f1