Search Issue Tracker

Fixed

Fixed in 2021.3.33f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b16, 2023.3.0a16

Votes

0

Found in

2021.3.16f1

2021.3.31f1

2022.3.10f1

2023.1.16f1

2023.2.0b11

2023.3.0a3

Issue ID

UUM-41447

Regression

Yes

[HDRP][XR] Editor crash entering play mode with terrain in the scene

-

Editor is crashing when trying to enter play mode with terrain in view. This appears to only happen with XR + HDRP + Multi Pass, single pass doesn't reproduce the crash 

 

*Forum Post:*
[https://forum.unity.com/threads/unity-2020-1-1-6-editor-crash-when-using-terrain-with-steam-xr-plugin-and-multi-pass-rendering.957078/] ** 

*Issue Link:*

[https://issuetracker.unity3d.com/issues/vr-hdrp-editor-crashes-when-entering-the-play-mode-on-the-hdrp-template-if-there-is-a-terrain-in-the-scene

*GitHub Link/Valve:*
[https://github.com/ValveSoftware/unity-xr-plugin/issues/38]

How to reproduce:
# Create a new project with 3D HDRP template
# Go to Player Settings and enable VR support
# Add the Open XR package in the Package manager 
## Enable OpenXR -> Mock Runtime
# In the Hierarchy create a new Terrain
## Paint some terrain on the asset in view of the camera view
# Enter the Play Mode

Note: The crash appears to be caused by the Camera. Disabling the main camera in the scene stops the crash from happening

_*Attaching min repo project*_

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.