borismus / webvr-boilerplate

A starting point for web-based VR experiences that work on all VR headsets.
Apache License 2.0
1.8k stars 451 forks source link

Polyfill causing error on Chromium without HMD attached #161

Open ghost opened 8 years ago

ghost commented 8 years ago

With the latest webvr-manager, using Chromium without any HMD plugged in the computer makes an error on line 59:

Uncaught (in promise) TypeError: Cannot read property 'isPolyfilled' of null
    at WebVRManager.<anonymous> (webvr-manager.js:59)
(anonymous) @ webvr-manager.js:59

It seems to be because the setVRCompatibleOverride is never called?

Even he doesn't have the last version, you can try it out on this page: https://www.clicktorelease.com/code/polygon-shredder/vr/

Copy of the bug is wrote out to the webvr chrome issues, as I don't know who should be in charge: https://github.com/toji/chrome-webvr-issues/issues/108

With Chromium Version 55.0.2869.0 (64-bit) on Windows 10.