I want to integrate a Unity project with Vuforia 7 in my Android project. If ARCore is supported I want to use GroundPlane, otherwise I want to make use of normal image tracking.
I tried the solution recommended here: https://stackoverflow.com/questions/48051266/is-there-a-way-to-have-vuforia-and-arcore-in-the-same-app
The app works fine with the Unity integration, but when I enable ARCore in Android Studio like described here: https://developers.google.com/ar/develop/java/enable-arcore
and check for ARCore support and load the scene with Vuforia, I get this Error in the console:
E/Zygote: v2 ... E/Zygote: accessInfo : 0 ... E/Unity: Unable to find main
and a Dialog appears on the device with the message:
'Failure to Initialize! Your hardware does not support this application, sorry'
The error occurs wheter ARCore is supported or unsupported. When I remove all ArCore references the app works fine. Also when I just have the ARCore support-check and the UnityPlayer is not initialized I do not get the error. Does somebody has an idea how I could manage this?
I am using Unity 2017.3.0p2 and Android Studio 3.1 Beta 4.