Skip to content

Model fails to load in AR QuickLook from Safari when using auto USDZ and fixed scaling (iOS 15.4) #3300

@milesgreen

Description

@milesgreen

Description

When using auto USDZ generation in conjunction with fixed scaling, the model fails to load when opening to AR QuickLook from Safari. QuickLook opens, but all you see is a loading spinner that never resolves.

Previously, this was slightly broken in that the fixed scaling parameter was ignored, but the generated USDZ blob would at least load. Unfortunately, recent changes have now fully broken it.

The bug has been filed with webkit and it looks like a fix is being worked on:
https://bugs.webkit.org/show_bug.cgi?id=226265

Live Demo

https://modelviewer-auto-usdz.glitch.me/
On iPhone iOS 15.4 Safari, visit demo link. Select a model. View in AR. USDZ is being auto generated. QuickLook should open and display generated model. Exit AR. Now tick the Fixed Scale checkbox to set modelViewer.arScale="fixed". View in AR again. QuickLook opens but model never completes loading.

Version

  • model-viewer: v1.10.1

Browser Affected

  • Chrome
  • Edge
  • Firefox
  • IE
  • Safari 15.4

OS

  • Android
  • iOS 15.4
  • Linux
  • MacOS
  • Windows

AR

  • WebXR
  • SceneViewer
  • QuickLook

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: not model-viewerProblems that are related to our project but are ultimately some other project's issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions