Skip to content

Scene Viewer crashes on Android devices when launching AR from model-viewer #5154

Description

@hasnain95083

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

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