google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 403 forks source link

Crash on ArSession_configure on OPPO CPH2135 device #780

Closed josefgrunig closed 3 years ago

josefgrunig commented 3 years ago

SPECIFIC ISSUE ENCOUNTERED

We are experiencing a crash with our production application HoppAR on a specific device only: OPPO CPH2135. We do not own directly the phone, but are in contact with the customer with such issue. He reports crashes when we try to start the AR Session, sometimes it does not crash but camera is black. The app is built on top of ARFoundation framework. We do not have similar crash reports on other phones

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Install HoppAR: https://hoppar.app/store
  2. Launch AR Session

WORKAROUNDS (IF ANY)

None

ADDITIONAL COMMENTS

See attached Crashlytics report and screenshot of device info crash_report.txt Screenshot_2021-04-25-23-45-37-00

Screenshot 2021-05-07 at 09 59 43
srvsingh1962 commented 3 years ago

Hi @josefgrunig , Saw your issue and find out that OPPO CPH2135 (Oppo A53s) does not support the ARCore. You can check out the list of supported devices at https://developers.google.com/ar/devices. This can be the reason for the crash your customer is facing.

With regards Sourav Singh

josefgrunig commented 3 years ago

Thank you for your response @srvsingh1962 I understand, how could the user install the application if I added the AR-Core requirement? Google Play is letting him install the app and telling him it is compatible. Is there a way to report this to the Store Team, if it's the proper place to do it? Thank you.

srvsingh1962 commented 3 years ago

Welcome @josefgrunig Just tried HoppAR. It's pretty awesome. Sometimes store does allow you to download and install but when you will run the app it will pop up the notification for ARcore support and then this crash thing happens. Also, the requirement of ARcore is to run only the application and the user can download & install it can't run if AR Core is not supported. You may contact store support for the same issue they might have some solution to restrict the download on unsupported devices. Also, you can see if other apps out in the market facing the same or what they use to cope up.

josefgrunig commented 3 years ago

Thank you @srvsingh1962, HoppAR is my free time side project. Glad to hear you enjoy it. At this point I think I will add a popup at runtime that tells the phone is incompatible and avoiding people to continue with the Augmented Reality experience. Will check if Unity ARFoundation can give me such information at runtime. Thank you again, will mark it as closed