I am working on a team to develop an app similar to Pokemon Go which uses Wikitude's AR Camera kit and Mapbox's geolocation tools to interact with AR objects based on geolocation. Wikitude has worked fine for iOS, but we have recurring issues with Android integration. When our client opens the app on his Android device and moves to the scene which uses the Wikitude camera, the AR lines appear on a completely black screen (see image below). Other members of our team have been successful in using the same builds on other Android devices, which leads me to believe it is a setting or compatibility issue with this specific Android device. Does anyone have experience with this error?
SDK version: Wikitude for Unity9.10 with Native API
Not using any extensions
Unity version: 2020.3.17
Not using Cordova
Not using Xamarin
Device: Galaxy S10+ with Android version 12, One UI version 4.0
Happening in own app, but sample app (and previous iterations of own app) worked on device
Steps to reproduce: open app, Approve Access to Wikitude While Using This App, move to scene with Wikitude camera in it
SDK version has not been upgraded during development
Documentation and setup guide was followed
Bump - any ideas on where to start in trouble-shooting device-specific errors?
Could you share the logcat output of the application?
@gokhan - How do we capture the logcat output (I suspect our developer already knows)?
I also suspect that
@gokhan - How do we capture the logcat output?
seemingly my former message got cut off sorry.
I also posted a link to a tutorial before: https://www.youtube.com/watch?v=smOzLSTaso0
Here is the logcat!
I am not quite sure... It seems that ARCore is not starting for some reason, but is installed on the device? Are other ARCore enabled applications working as expected?
Also, could you please post the Unity settings to properly activate AR Core here? In our prior build, our developer realized he missed a step. After changing, it worked on my phone. Unfortunately, during the hand-off process, this build was lost and the developer is not accessible.
I am not sure what the desired settings are. If the device doesn't have AR Core installed but in Unity the settings are set to "AR Core required", changing that to "AR Core optional", like described here, should do the trick...
That would be my first guess at the moment. A developer could get to the bottom of the issue more efficiently with the Unity project at hand.
Thanks! We will try the AR Core Optional setting. Maybe that's what the previous developer did. You all are very helpful!!