Skip to content

xr-environment attribute causes errors the second time a webxr session is started #4755

Open
@LR17

Description

@LR17

Description

When using xr-environment attribute, reopening a webxr session (after having closed a previous one)
causes NPE errors in the console

Live Demo

https://modelviewer.dev/examples/augmentedreality/#ar

Version

  • model-viewer: v3.4.0

Browser Affected

  • Chrome, version: 117
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android
  • iOS
  • Linux
  • MacOS
  • Windows

AR

  • WebXR
  • SceneViewer
  • QuickLook

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