google / google/model-viewer

Exiting a WebXR session freezes Chrome entirely on some devices

Open
#3,962 17 comments 0 reactions 0 assignees View on GitHub
flag: not model-viewer
Dominant language
TypeScript
Stars
8.2k
Forks
947
PR merge metrics
No merged PRs in 30d

Description

### Description

May be related to https://github.com/google/model-viewer/issues/2780

When entering a session and then exiting it, we see some devices that simply freeze. I believe this is outside model-viewers reach (we're also seeing it with basic samples) but since it also affects model-viewer and usage is so high, I thought it's good to track it here.

- There is no crash log in chrome://crashes - seems browser freezes and not crashes
- There is no reaction from the browser anymore; the last rendered image is frozen until force qutting the Chrome app
- It does not happen each time, it happens randomly; seems ~20-30% of the time. Often enough to be really annoying

cc @klausw @elalish

#### Live Demo
Reproduces on the start page on https://modelviewer.dev on Google Pixel 4a

### Browser Affected
- [X] Chrome, version: 107.0.5304.105 (but happened for at least a couple months now)

### OS
- [X] Android

### AR
- [X] WebXR

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.