google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.88k stars 816 forks source link

Model is doubled on iOS #3327

Closed LazZiya closed 2 years ago

LazZiya commented 2 years ago

Description

After the model is fully loaded in iOS, it is doubling with one static model and one interactive (can be rotated, zoomed, ..etc.). This problem seems related to latest iOS update because it is affecting previous model-viewer versions as well.

Live Demo

https://demo.ziyad.info/webar-models/fs90/range-cooker.html

fs90

Version

Browser Affected

OS

elalish commented 2 years ago

I can repro on iOS, but only with your site. Can you try to make a simpler repro case? I can't tell what's unique about your usage.

LazZiya commented 2 years ago

Well I will work on a simpler model to check. However it was working fine in Feb. 2022 prior to the latest iOS updates.

seadeep42 commented 2 years ago

Happens to me too. But just for this model. The others seem to be working fine. https://celestar-preview.euclidxr.com/bcc2654b-b1ec-4bd1-b483-ee69a02b9020

LazZiya commented 2 years ago

@chaitanya-deep yes I can regenerate the issue with your model on my iPhone!

I managed to re-make my model without duplication in below steps:

I know this is a hard way solution, but this was the only way to solve it.

The point is that the same model was running fine without problems in February, but now even with previous model-viewer version it is producing the same issue.

elalish commented 2 years ago

@LazZiya please file a bug on WebKit: https://bugs.webkit.org/ They've had a number of webgl regressions lately.

seadeep42 commented 2 years ago

Filed a bug here: https://bugs.webkit.org/show_bug.cgi?id=239104

seadeep42 commented 2 years ago

I guess this issue can be closed. It seems to be out of the scope of model-viewer. And as stated in the above link, it was already fixed and I was able to verify that it's working as intended in Safari technology preview.

https://user-images.githubusercontent.com/5744488/163317622-744242d7-040d-430c-8be9-85ad597036d7.mov

LazZiya commented 2 years ago

@chaitanya-deep any idea when the new Safari version will be released?

seadeep42 commented 2 years ago

The past 4 revisions were in beta for under 50 days (http://www.thinkybits.com/blog/iOS-versions/). So I'm guessing tentatively by the end of May

elalish commented 2 years ago

Thanks for following up @chaitanya-deep!

LazZiya commented 2 years ago

just installed iOS 15.5 and the bug is fixed :)