-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XR Plugin reports wrong eye positions #86
Comments
Analyzed unity-xr-plugin source code and found a fix! unity-xr-plugin/Providers/Input/Input.cpp Line 477 in 739417c
To fix the issue replace this line with: xrTrackingTransformRef = reinterpret_cast< XRMatrix4x4 & >( *postTransform ) * xrTrackingTransformRef;
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Left and Right eye position Y an Z coordinates always equals to Center eye Y and Z coordinates.
Here is a video demonstrating the problem: https://www.youtube.com/watch?v=9Bp0c7_XvuY
Reproduced problem in both Unity 2019.4.22f1 and Unity 2020.3.0f1, using SteamVR 1.16.10, OpenVR Unity XR plugin v1.1.4 and Oculus Rift CV1 headset.
This is the only bug preventing us from migrating our project from Legacy VR and Unity 2019.4.22f1 to XR Plugin and Unity 2020.3
Here is the code that used in above video to report eye positions:
The text was updated successfully, but these errors were encountered: