Search Issue Tracker

Fixed

Fixed in 3.2.0-pre.1

Votes

0

Found in [Package]

2.5.2

3.1.0-pre.1

Issue ID

XRIT-95

Regression

No

[Quest] [XR Interaction Toolkit] XR exhibits a lag in pose tracking when XR Origin is attached to a moving GameObject

Package: XR Interaction Toolkit

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Connect Quest or Quest 2 device with Oculus Link
4. Enter the Play Mode
5. In Hierarchy, select the “Mobile” GameObject
6. In Inspector, change the Speed variable of Mobile Motion (Script) to 1
7. Use the Grip button on the right Oculus controller to grab the jack-shaped object

Expected result: The small sphere is rendered at the center of jack-shaped when grabbing it
Actual result: The small white sphere does not appear at the center of the jack-shaped object

Reproducible with: 2.3.2 (2022.3.3f1), 2.5.2 (2021.3.32f1, 2022.3.13f1, 2023.1.19f1, 2023.2.0b17, 2023.3.0a13)

Reproducible on:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Oculus Quest (User tested)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Reproducible with OpenGLES3 and Vulkan
- Reproducible with Mono and IL2CPP
- Reproducible with Oculus XR and OpenXR
- Issue does not reproduce if the parent GameObject of the XR Origin is not moving

  1. Resolution Note (fix version 3.2.0-pre.1):

    - Added support to the XR Grab Interactable to smooth the appearance of the object in a similar way to Rigidbody Interpolation but without the frame delay.
    - Added a new Predicted Visuals Transform property to XR Grab Interactable that allows you to define a separate visual hierarchy of child GameObjects that can be driven at the application's update rate while still only moving the Rigidbody during `FixedUpdate`. This new optional property only applies when the Movement Type is Kinematic or Velocity Tracking.
    - Added support to limit the linear velocity and angular velocity of the XR Grab Interactable when the Movement Type is Velocity Tracking. This can be used to improve stability as the object collides with static geometry as it follows the interactor. These are controlled by four new properties: Limit Linear Velocity, Max Linear Velocity Delta, Limit Angular Velocity, and Max Angular Velocity Delta.

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.