Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AR Rendering Issue on First-Time Camera Permission Grant on Android Devices #4663

Open
3 of 13 tasks
fabiocaires opened this issue Jan 26, 2024 · 1 comment
Open
3 of 13 tasks
Assignees
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue

Comments

@fabiocaires
Copy link

fabiocaires commented Jan 26, 2024

Description

I'm encountering an unusual problem with my augmented reality implementation.
Specifically, the issue arises when attempting to render an object after granting camera permissions to the browser on Android devices.
On the first attempt to initiate the AR feature (which prompts the request for camera permissions), the object fails to render. Interestingly, subsequent attempts do not present this issue, and the AR feature works as expected once camera permissions have already been granted.
This problem only seems to occur after performing a factory reset on the device, after which the augmented reality feature launches to a completely blank screen.

I am presently utilizing the library '@intelligentgraphics/ig.ar' to initiate Augmented Reality (AR) across various devices.
This library, which can be found at https://www.npmjs.com/package/@intelligentgraphics/ig.ar, it provides several methods and automatically opens the appropriate file extension based on the device in use.

AR Modal Link:
https://www.xxxlutz.at/p/linea-natura-schreibtisch-120-65-76-cm-in-wildeiche-002748005501?ARRedirected=true
Please note that this link should be opened on an Android device where Chrome has not yet been granted camera permissions.

Live Demo

Screen1

Version

  • model-viewer: vX.X.X

Browser Affected

  • Chrome, version: any version, not related to chrome
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android

  • iOS

  • Linux

  • MacOS

  • Windows

  • Samsung galaxy s23 ultra - Android: 13 (5.15.41), chrome 116.0.5845.92 ar play service 1.39

  • ⁠Google Pixel 6 - Android 13, Chrome 116.0.5845.92, Goole Play Services for AR 1.39.232070593

  • Google Pixel 7 - Android 13, Goole Play Services for AR 1.39.232070593

  • Redmi Note 11S with MIUI version 14.0.3

  • Xiaomi A3 - Android 11

AR

  • WebXR
  • SceneViewer
  • QuickLook

Utils.mjs that opens the scene viewer
https://www.npmjs.com/package/@intelligentgraphics/ig.ar?activeTab=code (line 78)

@elalish elalish added the flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue label Jan 29, 2024
@elalish
Copy link
Collaborator

elalish commented Jan 29, 2024

Looks like a Scene Viewer bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue
Projects
None yet
Development

No branches or pull requests

3 participants