google-ar / arcore-unity-sdk

ARCore SDK for Unity

Home Page:https://developers.google.com/ar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on ArSession_configure on OPPO CPH2135 device

josefgrunig opened this issue · comments

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

  • Unity: 2019.3.12f1
  • ARCore SDK for Unity: ARFoundation 4.0.2, ARCore XR Plugin: 4.0.4
  • Device manufacturer, model, and O/S: Android 10 / OPPO CPH2135
  • Device Fingerprint: OPPO/CPH2135EEA/OP4EFDL1:10/QKQ1.200614.002/1617278010:user/release-keys

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

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

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.

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.

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