Skip to content

WebXR mode does not time out when it fails #4765

Open
@petr-hajek

Description

@petr-hajek

Description

  1. Go to https://modelviewer.dev/ with affected device
  2. click the AR button for the default model
  3. Console logs: Attempting to present in AR with WebXR...
  4. Nothing happens. It never times out to try the SceneViewer. Clicking the AR button again does not do anything.
    When tested with SceneViewer as a first option it works.
    Expected:
    Underlying issue is related to Samsung (or Chrome), but it should still fail gracefully and try SceneViewer in case there's some issue with WebXR.
    Problem will be somehwere here, that this await never times out:
    await arRenderer.present(this[$scene], this.xrEnvironment);

Live Demo

https://modelviewer.dev/

Version

  • model-viewer: v3.4.0
    Tested also with 3.5.0 and occurs as well

Browser Affected

  • Chrome, version: 124.0.6367.82

OS

  • Android v14
    Replicated on Samsung S24+ and S22+
    Affects OS with One UI 6.1. Tested on one device, it started occuring ater updating from One UI 6.0 to 6.1.

AR

  • WebXR

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: not model-viewerProblems that are related to our project but are ultimately some other project's issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions