You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System
OS: Windows 10 Fall Creators Update
Browser: Edge
Headset: Windows Mixed Reality with Motion Controllers
Repo steps:
Ensure controllers are powered on and connected
Navigate to site, and Enter VR
Press the Windows Key on the controller to Exit VR
Press the Enter VR button to re-enter VR
Observed issue
JavaScript errors flood the console and nothing is rendered to the headset. I traced the javascript error to this line, which fails as pose.orientation is null:
I believe this issue appears because you are caching the gamepad object between frames; but VRController does not get a chance to emit the 'on gamepad disconnected' event, since you do not update the controls when not presenting:
System
OS: Windows 10 Fall Creators Update
Browser: Edge
Headset: Windows Mixed Reality with Motion Controllers
Repo steps:
Observed issue
JavaScript errors flood the console and nothing is rendered to the headset. I traced the javascript error to this line, which fails as pose.orientation is null:
dance-tonite/third_party/VRController/VRController.js
Line 263 in 67caaf2
I believe this issue appears because you are caching the gamepad object between frames; but VRController does not get a chance to emit the 'on gamepad disconnected' event, since you do not update the controls when not presenting:
dance-tonite/src/viewer.js
Line 162 in 67caaf2
This causes the gamepad object to become stale and invalid when requestPresent is called a second time.
The text was updated successfully, but these errors were encountered: