Search Issue Tracker

Fixed in 4.2.0

Votes

10

Found in [Package]

4.0.6

Issue ID

1357482

Regression

Yes

[XR SDK] XR Settings get reset after building a project without Library folder with -batchmode argument

Package: XR Management

-

Reproduction steps:
1. Download the attached "1357482.zip" project
2. Note the content of "Open XR Package Settings.asset" in Assets > XR > Settings folder
3. Modify the "build.bat" script to point to correct paths
4. Run the script
5. Observe "Open XR Package Settings.asset" content

Expected result: the "Open XR Package Settings.asset" does not change
Actual result: the "Open XR Package Settings.asset" gets reset

Reproducible with: XR Management 4.0.6, 4.0.7 (2021.2.0b7, 2022.1.0a5)
Not reproducible with: XR Management 4.0.5 (2021.2.0b7, 2022.1.0a5)

Notes:
- tested with OpenXR and Oculus XR plug-in providers
- to be able to reproduce the issue again, copy "Open XR Package Settings.asset" from the zip file and delete the Library folder

  1. Resolution Note (fix version 4.2.0):

    Fixed with XR SDK 4.2.0 (2022.1.0a13)

Comments (1)

  1. hschulte

    Sep 20, 2021 07:28

    This is a serious bug preventing us from switching to OpenXR right now. No controller devices are recognized in builds coming from our CI pipeline.

    https://forum.unity.com/threads/openxr-interaction-profiles-not-present-when-building-in-batch-mode.1171160/

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.