Search Issue Tracker

In Progress

Under Consideration for 3.2.X

Votes

0

Found in [Package]

3.2.0-pre.1

Issue ID

XRIT-283

Regression

No

Duplicate camera created when adding XR rig - a.k.a. XR Origin (VR) to new project.

Package: XR Interaction Toolkit

-

When adding an XR rig - a.k.a. XR Origin (VR) game object prefab to new project it no longer seems to generate a message that it will remove the default camera, and also it no longer does that operation, so you end up with duplicate cameras. I believe at this point this is a regression (maybe in newer editors like trunk) since I always remember getting the message before creating new VR projects from scratch using 3D core templates - and not having the duplicate camera problem after that.

*Steps to reproduce:*
# Create a new 3D URP template project with trunk.
# Update and packages in Package Manager then add the VR feature.
# Fix the one console warning validation (- [XR Plug-in Management] Run in Background must be enabled or Input System Background Behavior changed to avoid head-locked rendering of the main camera when focus is lost, such as when the universal menu/system shell is opened.).
# Create an empty Env and Sys game object. Move the template created Directional Light, Global Volumen, and Main Camera into the Sys game object.
# Right-click on the Sys game object and choose Create - XR Origin (VR).

*Expected results:* 

In the past when creating the XR rig (a.ka. XR Origin) prefab in a new clean 3D Core project it would generate a pop up message you have to OK that says it will replace the default camera when adding the XR Origin with camera, and then it did that.

*Actual results:* 

No message is generated about removing the duplicate camera like I have seen in the past (regression?) and duplicate cameras now exist in the scene.

*Reproducible with versions:* 

1.15.pre_2

*Not reproducible with versions:* 

unknown/not tested

*Can’t test with versions:* 

N/A

*Tested on (OS):* 

Windows

*Notes:*
*  

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.