Skip to content

Exception in XR Hand tracking when leaving immersive mode & returning #9882

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

Closed
Palmer-JC opened this issue Feb 2, 2021 · 0 comments
Closed
Assignees

Comments

@Palmer-JC
Copy link
Contributor

From Forum topic

When using handtracking, then leaving immersive mode. When you come back you get a black display. Console throws following exception:

Uncaught DOMException: Failed to execute 'getJointPose' on 'XRFrame': XRSpace and XRFrame sessions do not match.
    at https://192.168.50.238/babylon.js:16:3396139
    at Array.forEach (<anonymous>)
    at e.updateFromXRFrame (https://192.168.50.238/babylon.js:16:3396083)
    at https://192.168.50.238/babylon.js:16:3403108
    at Array.forEach (<anonymous>)
    at HandTracking.t._onXRFrame (https://192.168.50.238/babylon.js:16:3403058)
    at HandTracking._onXRFrame (https://192.168.50.238/Palmer-JC.github.io/lib/XR-UIPortal.2.0.js:1809:19)
    at r.callback (https://192.168.50.238/babylon.js:16:2097536)
    at e.notifyObservers (https://192.168.50.238/babylon.js:16:37003)
    at XRSession.renderFunction (https://192.168.50.238/babylon.js:16:1341566) 

Running Babylon.js v5.0.0-alpha.8 from a local webserver by IP address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants