Search Issue Tracker
Fixed
Fixed in 1.8.2
Votes
0
Found in [Package]
1.8.2
Issue ID
OXRB-223
Regression
No
[Quest 2] OpenXR plugin OpenXRFeature OnAppSpaceChange not triggered
Steps to reproduce:
1. Open the attached user's project "HandTrackingTest.zip"
2. Make sure OpenXR is selected as the XR Plugin
3. Build to Quest 2
4. Once application loads, open the Oculus Menu and hold the home button on the controller
5. Observe how the Application view does not recenter, but the menu View does
Expected results: OpenXR plugin OpenXRFeature OnAppSpaceChange is triggered and Application View is recentered
Actual results: OpenXR plugin OpenXRFeature OnAppSpaceChange is not triggered and Application View is not recentered
Reproducible in: OpenXR 1.7.0 - 1.8.2 (2021.3.29f1, 2022.3.7f1, 2023.1.7f1, 2023.2.0b3)
Environment tested on: Windows 10
Notes:
-Issue does not reproduce on OculusXR plugin
-If you integrate Oculus SDK asset, enable the user's RetetViewFeature (or the MetaXRFeature which is in the Oculus Integration package) and build with OpenXR, you should be able to see OVRPlugin logging something the followings each time you reset view (Android Logcat):
Debug | OVRPlugin | HandleOpenXREvents(): XrEventDataReferenceSpaceChangePending
Debug | OVRPlugin | HandleReferenceSpaceChangePendingEvent(): spaceType=2, changeTime=10694168319356, poseValid=true
Debug | OVRPlugin | HandleReferenceSpaceChangePendingEvent(): recenterCount=7
-If you look into MetaXR Feature's logs or the user's ResetViewFeature's logs, it does not pick up OnAppSpaceChange, only once, when the app starts. According to the documentation, it should be "Called when the reference XRSpace for the app changes."
https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.0/api/UnityEngine.XR.OpenXR.Features.OpenXRFeature.html
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
- [Lost Crypt] Readme text is white on light grey in light mode
- Margins of TMP GameObjects become the same when both are selected
- Tile Palette 'Z Position' value changes/reverts to the previous value when hovering in the Scene
- Creating a Grid in the scene and then deleting it removes the default Grid
- Default Tile Palette layout cuts of the part of Tile Palette preview
Resolution Note (fix version 1.8.2):
Resolved in a feature that landed in OpenXR 1.9.