Skip to content

WebVR support doesn't work #2

Description

@lunarcloud

Testing with the Cardboard APK build of chromium webvr

ig.system.setStereoMode(true);
Uncaught TypeError: Cannot read property 'projection' of null
Uncaught (in promise) TypeError: this.hmdDevice.getEyeTranslation is not a function
at Class.tpf.StereoRenderer.tpf.Renderer.extend.enumerateVRDevices
Uncaught TypeError: Failed to execute 'uniformMatrix4fv' on 'WebGLRenderingContext': No function was found that matched the signature provided. 

I'll retry this later with a proper development environment (not baked) - so that you can get line numbers and files (all in StereoRenderer).
I will be working to get WebVR support into my game before it releases, and intend to fork, fix, and pull request if you don't get around to it.
I tried to get it to work as-is with chrome and firefox webvr builds and a DK2 during a game jam, so it was more of a "if it works, great" situation.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions