question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SceneViewer doesnot work in my Android Device but WebXR works

See original GitHub issue

Description

Hello, I have some troubles in AR experience with scene-viewer. 2~3 weeks ago, I have built project with model-viewer, and AR worked perfectly with scene-viewer in android devices chrome version. After some days, today, I tried to open the my project in mobile browser but AR experience is not working. when the mobile detects the ground, the models

are not showed in the 3D scene, I can only see the camera

So I tried to test the examples from model-viewer official site but it had same problems. Webxr works but no scene viewer

I cannot see any errors messages checking in chrome://inspect/#devices

Live Demo

https://modelviewer.dev/examples/augmentedreality/#sceneViewer https://monkeymax-svg.github.io/dev-modelviewer/

Version

  • model-viewer: v1.6.0

Browser Affected

  • Chrome, version: 89.0.4389.105 (March 22 2021 update)

OS

  • Samsung note 8 with Android 9.0
  • Pocophone Android 10 These devices are ARcore compatible and examples worked on these devices perfectly some weeks ago

AR

  • WebXR works well
  • SceneViewer has issues what I see.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:27 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
tpsiakicommented, Apr 17, 2021

Thanks. I think I have a repro now. I believe it involves having AR tracking find a plane before the model is fully loaded. If you cover the camera for a while before placing the object does it work for you? If so then I think I’m reproing the same issue.

We’ll work on a fix.

5reactions
tpsiakicommented, Apr 8, 2021

Yes this looks like a regression in the Scene Viewer build that shipped last week. We have this fixed internally, and the next release of the Google app will include it (should be available in the next few days).

Read more comments on GitHub >

github_iconTop Results From Across the Web

model-viewer repetitions doesn't work on mobile during AR ...
Whe using google model-viewer animation repetitions count is ignored on phone during AR session. However its works on desktop chrome when ...
Read more >
Using Scene Viewer to display interactive 3D models in AR ...
Scene Viewer is an immersive viewer that enables 3D and AR experiences from your website or Android app. It lets users of Android...
Read more >
Augmented Reality - <model-viewer>
Customize a WebXR Augmented Reality session with HTML, CSS, and JS in Chrome 83+ on Android. This demonstrates the use of slots, as...
Read more >
Developing a WebXR Experience for AiR | Popul-AR - Medium
The Scene Viewer app works great for pre-made models, but it specifically doesn't work with the ThreeJS GLTF exporter, so this was a...
Read more >
Fundamentals of WebXR - Web APIs | MDN
WebXR, with the WebXR Device API at its core, provides the functionality needed to bring both augmented and virtual reality (AR and VR)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found