unity-game-engineoculusoculusquestunity-xr

Unity XR hands "shaking" when XR rig moved away from initial location


I have a project with Unity XR and have just implemented movement of the XR rig, however I notice a very unpleasant effect: XR hands start "shaking" when the XR rig is moved away from the initial location.

Here is how it looks like: https://youtube.com/shorts/TX6tyOfsXtQ

I made two completely independent of each other implementations of the movement: one with the locomotion system and one by just moving the rig's transform's position. Both have this shaking though.

Any idea what might have causing it and how to prevent it? Thanks!


Solution

  • It seems the issue is caused by floating origin inaccuracy, more details in this thread: https://forum.unity.com/threads/unity-xr-hands-shaking-when-xr-rig-moved-away-from-initial-location.1373310/

    Fix: lock the rig at 0/0/0 and move the world instead.