Scene Viewer crashes on Android devices when launching AR from model-viewer
- Dominant language
- TypeScript
- Stars
- 8.2k
- Forks
- 947
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Scene Viewer crashes immediately or after a few seconds when launching AR
on multiple Android devices. This is happening on our WebAR SaaS platform
(ScanAR) and affects multiple device types.
## Affected Devices
- Redmi (MIUI V816.0.8.0.TGCMIXM, Android 13)
- Multiple other Android devices
## Steps to Reproduce
1. Open this URL on Android Chrome:
2. Upload or view any GLB model
3. Click "View in AR" button
4. Scene Viewer launches but crashes immediately
## Error
JNI DETECTED ERROR: java_class == null
ImplModelView.nSetMode crash in com.google.android.googlequicksearchbox
## Expected Behavior
Model should appear in AR on detected floor surface
## Actual Behavior
Google app (Scene Viewer) crashes to home screen
## Additional Notes
- Same crash happens on other WebAR sites (AR Code etc.)
- iPhone AR works perfectly with Quick Look
- Desktop 3D preview works fine
- This appears to be a Google-side regression
## model-viewer version
Latest
Contributor guide
Assessment
This issue has not been assessed yet.