Skip to content

Error handling for scene.enterAR() #4660

@federico-camonapp

Description

@federico-camonapp

Description:

  • A-Frame Version: 1.0.4
  • Platform / Device: Honor 7X / Chrome 84
  • Reproducible Code Snippet or URL: scene.enterAR()

On this device (I assume this might be happening as well on other devices) I'm getting an error when trying to enter ar-mode: "Could not create a session because: The runtime for this configuration could not be installed".

It seems like some required feature of the session config is not available (there was only one, and I've tried with local, local-floor, unbounded and bounded-floor). If possible, would be great to have the chance to catch the error thrown (maybe enterAR & enterVR could return a Promise?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions