Open AmitMY opened 5 months ago
In your site I don't see the ios-src
that you have in your comment. How much filesize does your GLB have? When you click the AR button, does it disappear and then reappear? Sometimes Safari is strangely slow to process USDZs.
It only adds the ios-src
when you open the site from iOS (emulator or real device), because of the way my caching system works for offline usage.
In order to debug, I open the site on my iPhone, and then using safari developer tools view the iPhone dev tools.
Clicking the AR button does not flicker, doesn't do anything.
The GLB is 27mb: https://firebasestorage.googleapis.com/v0/b/sign-mt-assets/o/3d%2Fcharacter.glb?alt=media The USDZ is 19mb (converted using reality converter): https://firebasestorage.googleapis.com/v0/b/sign-mt-assets/o/3d%2Fcharacter.usdz?alt=media
27mb is huge - you really shouldn't need more than 5 if you've properly optimized for mobile. You may be running out of GPU RAM. Can you make a simple repro with a smaller model and no fancy caching? I would guess the problem is caused by one of those two.
(related to #3548)
Description
in Safari in iOS, I can see the "mixed reality" button, while wrapped in a native app, using capacitor, it does not show. Anyway, even in safari, clicking it does not do anything, and there is nothing in the console.
Live Demo
Reproduction available in https://sign.mt
Version
Browser Affected
OS
AR