Model-viewer: Scene Viewer crashes on some Samsung Galaxy devices

Created on 12 Aug 2019  Â·  22Comments  Â·  Source: google/model-viewer

Please refer to discussions in https://github.com/GoogleWebComponents/model-viewer/issues/693#issuecomment-519502552 for related context. The gist of the issue is that as of the hotfix release v0.5.1, Scene Viewer appears to be crashing when launched from Chrome by <model-viewer> on _some_ Samsung Galaxy devices, including the A5, S7 and S7 Edge.

compatibility not model-viewer bug

Most helpful comment

The next step is to wait patiently until an update rolls out publicly. I'll do my best to keep this thread updated when that happens.

Please keep in mind that Scene Viewer is a different project from <model-viewer>. Scene Viewer is not open source, and is managed according to its own set of goals and timelines. The best I can do here is facilitate communication back and forth as I receive new information.

All 22 comments

Do we have an eta on this fix? It is not device specific but Android version <=8 issue

@sydadder I cannot give you an ETA, only an assurance that the team is aware of the bug and is looking into it. That's the best I can do for now, but I'll update this thread as there is more to share.

Also, Xperia XZ1 SOV36 crashed after updating ARCore SDK to v1.11.0. Scene Viewer works on this device previously (but I don't know the previous ARCore SDK version...).

I can't give y'all an ETA, but I can confirm that the source of this crash was identified and a fix was landed for it. I'll update here when I learn more.

Hello,

I was looking for a way to switch to ARView mode automatically and came up with placing this.activateAR() function into onModelLoaded event. But in the end I have the same issue, problem with the Anchor.Click - Intent stuff.

I'm currently on the latest 0.5.1 version with the hot fix implemented mentioned above, but it doesn't really solve that problem.

Any suggestions how to run AR View mode skipping the process of clicking onARButtonHandler thing?

Thank you

@letsrock85 The browser requires user interaction to trigger an intent on purpose. It's a protection for users. For example, it keeps a malicious site from spamming users with unexpected intents.

This article by Paul Kinlan describes how you can use a 302 redirect to trigger an intent. Depending on your use case, this might achieve the effect you are going for.

@cdata You mentioned 'fix was landed for it'. What would be the next step for us as users? I'm guessing that the changes haven't been rolled out yet and we need to wait for a confirmation once done isn't it?

The next step is to wait patiently until an update rolls out publicly. I'll do my best to keep this thread updated when that happens.

Please keep in mind that Scene Viewer is a different project from <model-viewer>. Scene Viewer is not open source, and is managed according to its own set of goals and timelines. The best I can do here is facilitate communication back and forth as I receive new information.

Any news on this? It's been a month now, and the latest ARCore update was on Aug 28 without the fix.

The affected Samsung phones have a giant market share in Europe, some customers of us are getting pretty annoyed by now... This doesn't really help with getting people to support and invest in AR projects on the web :(

@soraryu acknowledged, and I'm sorry for the delay. Scene Viewer is a different team. They have their own processes and their own reasons for shipping (or not), and I'm not at liberty to disclose everything that I know about that.

What I can say is that while the bug was fixed very quickly, the public update was unexpectedly delayed multiple times for unrelated reasons. Unfortunately there is not much that the <model-viewer> project can do to make a difference here.

I'm sorry on behalf of the Scene Viewer team for the inconvenience, and I will update this thread when I have confirmed that the fix has been made public.

Thanks for your continued patience everyone. I can't offer specific details yet, but please stay tuned for an update on this issue very soon!

Thanks. That is assuring to know someone is on it.

Syed

On Wed, 11 Sep 2019, 00:46 Christopher Joel, notifications@github.com
wrote:

Thanks for your continued patience everyone. I can't offer specific
details yet, but the please stay tuned for an update on this issue very
soon!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleWebComponents/model-viewer/issues/703?email_source=notifications&email_token=AA2DPC6KXDALYPB46JFBMATQJAWUNA5CNFSM4ILDVXWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6M2C2Y#issuecomment-530162027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2DPC2BRZXHSXPZTAT7QALQJAWUNANCNFSM4ILDVXWA
.

I understand it's a different team, and I'm very grateful that you kind of act as "public surface" here!

Note: another update was released without the fix a couple days ago (staged rollout got to me yesterday).

I'm curious, will there be measures put in place to prevent these kind of outages in the future? "more than one month of no AR for 300 million devices" isn't really helping Google's AR strategy.

@soraryu again, it's a different team, but I will say that there has been a fair amount of reflection/retrospective as a result of this delay; the team is conscious of the consequences and are doing what they can to avoid them in the future.

I wish I could tell you more than that; I work on open source in part because I prefer transparency with the community.

Note: another update was released without the fix a couple days ago (staged rollout got to me yesterday).

What version of ARCore do you have now?

Good to know, thanks!

Version is 1.12.190826056, from Sep 4. Previous update was on Aug 28.

@soraryu have you been able to reproduce the crash with that version installed?

Does not crash anymore with latest ARCore version (1.12.190826056) installed (Galaxy S7 and Tab S3).

I tried again. Yesterday it still crashed with Google Play saying "1.12.190826056", but today it doesn't crash anymore on Galaxy S7. Great! Maybe something was still cached/not properly updated.

@scanblue-sr @soraryu Thanks to both of you for confirming that the issue is resolved.

I'm happy to report what you already know by now: the version you have is the one that contains the fix for this bug. I'm going to close this issue as resolved, but please comment here if you continue to see similar crashes and I will re-open it.

And, apologies once again for the latency and lack of communication. I will continue to try to improve insight into issues like this one to the extent that our project is able to do so.

It doesn't crash anymore on Xperia XZ1 SOV36. Thank you!!!

@cdata regarding issue #693
and testing on Firefox there is still the same issue with a button:
"View in AR" button only opens fullscreen instead of SceneViewer
Tested also @soraryu models - the same issue as in a video
https://youtu.be/t6uQEcQDnBU

Browsers Affected
Firefox 68.1

Device
Samsung S8, S9

@Dmitrijsmok Yeah, this is a separate issue, please refer to #564

Was this page helpful?
0 / 5 - 0 ratings