Reproduction steps:
1. Open the attached "repro" project
2. Open the "Assets/Scenes/SampleScene.unity" Scene
3. "Build And Run" the project on an Oculus device
4. In the Player, move your head to the sides and observe the house
5. Use the "Select" button (middle finger button on the side) on the controller while pointing at the house (the line will be white instead of red when it's successfully pointing to the house) to toggle the OVRSpatialAnchor component on the house
6. Repeat the 4th step
Expected result: The GameObject "Gatehouse" remains stable
Actual result: The GameObject "Gatehouse" wobbles when moving head
Reproducible with: 1.7.0 (2023.2.0a20), 1.15.0-pre.2 (6000.3.0a1), 1.15.0 (2022.3.63f1, 6000.0.53f1, 6000.1.11f1, 6000.2.0b9)
Could not test with: 1.15.0 (6000.3.0a1) (Compilation error, more info in the internal comments)
Reproducible with devices:
- Oculus Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno (TM) 740
- Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Not reproducible in the Editor, only reproducible in Player
- Once the OVRSpatialAnchor or OVRManager is removed then the GameObject is stable again
- This issue wasn't present when using the Oculus XR plugin instead of the OpenXR plugin
- Only script is the TriggerHandler.cs