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

Object requires a newer version of iOS #4772

Open
3 of 13 tasks
ermincelikovic opened this issue May 9, 2024 · 15 comments
Open
3 of 13 tasks

Object requires a newer version of iOS #4772

ermincelikovic opened this issue May 9, 2024 · 15 comments
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue

Comments

@ermincelikovic
Copy link

ermincelikovic commented May 9, 2024

Description

Hi Folks,
first of all, thank you for this wonderful library!

However, I'm not sure what am I doing wrong since my AR on iOS does not seem to work - it returns the message:
Object requires a newer version of iOS.

I assume that something might be wrong with my model:
https://cdn.glitch.global/40b96037-9b1b-4d40-8f86-6c16abe963fc/model.glb?v=1715287619810

Once I try to run it in AR, I can find following warning in my console:
THREE.USDZExporter: USDZ does not support double sided materials
When I set double sided material to false, the AR still shows "Object requires a newer version of iOS".

To be clear, I’m on the latest version of iOS and i tried several others too.

Thanks in advance for any help!

Live Demo

https://smooth-abalone-molybdenum.glitch.me/

Version

  • model-viewer: v3.5.0

Browser Affected

  • Chrome, version: xx.x.xxxx.xx
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android
  • iOS
  • Linux
  • MacOS
  • Windows

AR

  • WebXR
  • SceneViewer
  • QuickLook
@elalish
Copy link
Collaborator

elalish commented May 13, 2024

Considering it says you need a newer version of iOS, could you at least include your iOS version? :)

@AdaRoseCannon @mrdoob Maybe you two can work out some kind of testing regimen so that Apple's Quick Look isn't constantly making breaking changes to its USDZ reader (this file is produced by Three's USDZExporter)?

@ermincelikovic
Copy link
Author

ermincelikovic commented May 13, 2024

@elalish I apologize, of course. I'm on 17.5, but I tested it also on 17.3 and older.

@AdaRoseCannon
Copy link

Just to clarify, what version of THREE.js does this USDZExporter come from?

@elalish
Copy link
Collaborator

elalish commented May 13, 2024

r163 - we're generally up to date at whatever the time of our release was.

@mrdoob
Copy link
Collaborator

mrdoob commented May 14, 2024

From my side I have no other option than reverse engineer the iOS viewer by disabling things until it works again.

It would be greatly appreciated if iOS could offer a mechanism to know what the issue actually is.

@AdaRoseCannon
Copy link

AdaRoseCannon commented May 14, 2024

Can you link the USDZ model generated so I can take a look?

@elalish
Copy link
Collaborator

elalish commented May 15, 2024

@AdaRoseCannon do you have a tool to extract it from a QuickLook session? MV just generates it in memory and passes the blob across, so there isn't super easy file access without hacking MV a bit. You might consider setting up a Glitch with Three.js for converting glTF to USDZ so you can easily repro problems like this (they are very common with our users).

@AdaRoseCannon
Copy link

I’ll do that, if @ermincelikovic has the original gltf then that would also be fine and I will make a glitch to test it with.

@elalish
Copy link
Collaborator

elalish commented May 15, 2024

I believe the original GLB is the first link in the description above.

@AdaRoseCannon
Copy link

Totally missed it, my bad!

@mrdoob
Copy link
Collaborator

mrdoob commented May 16, 2024

@AdaRoseCannon do you have a tool to extract it from a QuickLook session? MV just generates it in memory and passes the blob across, so there isn't super easy file access without hacking MV a bit. You might consider setting up a Glitch with Three.js for converting glTF to USDZ so you can easily repro problems like this (they are very common with our users).

Or you can load the glb in https://threejs.org/editor/ and export to usdz from there too.

@AdaRoseCannon
Copy link

That is a really useful tip and will save a lot of time.

@ermincelikovic
Copy link
Author

ermincelikovic commented May 22, 2024

Thanks everyone for checking this out! If there is anything I can help with, let me know.

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

I see that the issue is flagged as "not model-viewer". Shall I open the issue elsewhere?
cc @AdaRoseCannon @mrdoob

@elalish
Copy link
Collaborator

elalish commented Sep 16, 2024

Yes, I think we've been told to file Apple issues through their feedback assistant, though I personally find that kind of one-way communication irritating, so I'd also recommend filing it on their WebKit bug tracker where you might at least get an update.

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

4 participants