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.

empty USDZ when entering AR before load.

See original GitHub issue

Description

Using the newest version of model-viewer (1.7.0) with auto-generated USDZ files I’m unable to run AR on some Apple devices. I’ve tested iPhones: 6, 8, X, XR, 11, 12, 12PRO and iPads: Pro, 6th gen. It happens only with models that have swappable textures but I don’t see any pattern - for example, AR works on 2 out of 3 iPhones 12 I’ve tested (iOS and browsers are up to date). After AR button is tapped progress bar on the top shows again but nothing else happens - quicklook is not launched. Model-viewer without swappable textures works fine on every device I tried. It happens on Safari and Chrome but on some devices AR work only on Safari.

Live Demo

https://colordrop.pl/ar-iker/

Version

  • model-viewer: v1.7.0

Browser Affected

  • Chrome, version: 90.0.4430.78
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android
  • iOS
  • Linux
  • MacOS
  • Windows

AR

  • WebXR
  • SceneViewer
  • QuickLook

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
elalishcommented, May 21, 2021

I believe what it’s actually missing is baseColorFactor multiplication. Hopefully fixed soon: https://github.com/mrdoob/three.js/pull/21872

0reactions
elalishcommented, May 25, 2021

In fact, better to have separate issues for different problems. Please open a new issue if any of your other problems persist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uploading usdz model to AR Quick Look at https link
Please tell me how to load the usdz model from the url link (https) in AR Quick Look, I am using the code...
Read more >
AR Quick Look and USDZ - Netguru
In 2018, Apple launched a built-in viewer for displaying and sharing HQ 3D content using USDZ format. Check how to use it in...
Read more >
How do I reduce memory required to view .usdz objects in AR?
USDZ file to .ZIP you can actually unzip it and see what is inside. There are textures + .USDC file. Textures here are...
Read more >
Add support for USD and USDZ formats #14219 - GitHub
To do anything useful with USDZ (load or export) you are going to need the USD SDK. USD from glTF requires the USD...
Read more >
How to Create Nested USDZ Files
You can now create nested usdz files! Visit the AR Quick Look gallery page (https://developer.apple.com/augmented-real ...
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