Search Issue Tracker
Active
Under Consideration for 1.8.X
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
- The Physics 2D Profiler module does not display the information about processed physics in the scene when profiling the application as a Development Build
- A Script Component that has a serialized custom class is not detecting changes in the first boolean variable when entering the Play mode with the Script Components GameObject opened in the Inspector
- “SendMessage cannot be called during Awake“ warnings appear when loading a scene with “LoadSceneAsync“ if using UI Toolkit in the scene
- Audio Source Spatial Blend value gets set to 1 in the WebGL Player when the Spatial Blend value is bigger than 0
Add comment