Log in or register to post comments

Vuforia ARcore Integration

August 9, 2018 - 6:58pm #1

Hi,

 

I need some help, I try to integrate Vuforia with ARCore following this link https://library.vuforia.com/content/vuforia-library/en/articles/Solution/arcore-with-vuforia.html

On Unity 2018.2, build with Gradle, mi device is a Galaxy S7 supported on the device list

Already do all stuff on the integration page, when try to build I get a Gradle error:

 

Build failed with an exception.

* What went wrong:

Could not resolve all files for configuration ':releaseCompileClasspath'.

> Could not find com.google.ar:core:1.3.0.

  Searched in the following locations:

file:/C:/Android/extras/m2repository/com/google/ar/core/1.3.0/core-1.3.0.pom

      file:/C:/Android/extras/m2repository/com/google/ar/core/1.3.0/core-1.3.0.jar

      file:/C:/Android/extras/google/m2repository/com/google/ar/core/1.3.0/core-1.3.0.pom

      file:/C:/Android/extras/google/m2repository/com/google/ar/core/1.3.0/core-1.3.0.jar

      file:/C:/Android/extras/android/m2repository/com/google/ar/core/1.3.0/core-1.3.0.pom

      file:/C:/Android/extras/android/m2repository/com/google/ar/core/1.3.0/core-1.3.0.jar

     

file:/C:/MyProject Unity 2018/Temp/gradleOut/libs/core-1.3.0.jar

     

file:/C:/MyProject Unity 2018/Temp/gradleOut/libs/core.jar

core-1.3.0.aar is on my Plugins\Android foleder, and the Project gradle file have the implementation 'com.google.ar:core:1.3.0'

I try to add @arr at the end of the implementation line and the error gone, but still can not see Vuforia running with ARCore

VuforiaRuntimeUtilities.GetActiveFusionProvider() always show VUFORIA_SENSOR_FUSION

is there a way to show all the available fusion providers? or check if arcore is enabled? (PLATFORM_SENSOR_FUSION??)

 

Is there any working vuforia unity example/Project to check for?

Regards

 

Mariano

Vuforia ARcore Integration

August 13, 2018 - 11:27am #5

Hello,

Unfortunately, Vuforia's support for ARCore on Galaxy S7 devices has been disabled. This is due to performance issues we've observed. We continue to investigate in hopes of resolving as soon as possible.

We've recently updated our supported devices page to represent ARCore support: https://library.vuforia.com/articles/Solution/vuforia-fusion-supported-devices.html

Apologies for any inconvenience.

Thanks,

Vuforia Engine Support

Vuforia ARcore Integration

August 13, 2018 - 9:51am #4

Vuforia with ARCore integration seems that is not working on my Galaxy S7

 

This is my stuff

Unity 2018.2.3f1

Vuforia 7.2.24

Galaxy S7 with Android 8.0

 

Build Settings: I try against API Android 6.0, and  7.0

XR Settings ARCore supported : unchecked

ARCore plugin is in Assets/Plugins/Android folder (tried already with core-1.1.0.aar, core-1.3.0.aar, core-1.4.0.aar

found the core aar library in the gradleOut\libs folder (that means is included in the apk?)

 

When the app start I put the following line before Vuforia initialization (where _P is a private class variable)

_P = VuforiaRuntimeUtilities.SetAllowedFusionProviders(FusionProviderType.PLATFORM_SENSOR_FUSION);

Debug.Log(_P) shows FusionProviderType.PLATFORM_SENSOR_FUSION , no error, thats means PLATFORM_SENSOR is set?

 

after initialization VuforiaRuntimeUtilities.GetActiveFusionProvider() value shows FusionProviderType.VUFORIA_SENSOR_FUSION (no ARcore here)

 

Any clue?

 

Vuforia ARcore Integration

August 10, 2018 - 9:34am #3

My last post dissapear?

 

Ok, I just say that no need to touch gradle and all native android stuff for ARcore integration, just copy the arcore aar library to the android plugins folder, but anyway I cant make it works.

 

All the time i check GetActiveFusionProvider I get VUFORIA_SENSOR_FUSION

I try from the scratch downloading Vuforia core examples from assetstore, and just test set before initialization:

_P = VuforiaRuntimeUtilities.SetAllowedFusionProviders(FusionProviderType.PLATFORM_SENSOR_FUSION);

and after runnning the groundplane scene and debug I get (on logcat, Update() unity method, after vuforia initialization)

 

_P = FusionProviderType.PLATFORM_SENSOR_FUSION

VuforiaRuntimeUtilities.GetAllowedFusionProvider() = FusionProviderType.VUFORIA_SENSOR_FUSION

 

Something is wrong here?

Vuforia ARcore Integration

August 10, 2018 - 5:32am #2

Ok, my mistake about I follow all Unity and Native Android steps in the tutorial, no need to do all native android stuff if you are on Unity just copy the .aar to the Plugins/Android folder, anyway I still cant get it work on my S7 G930U.

VuforiaRuntimeUtilities.GetActiveFusionProvider() always show VUFORIA_SENSOR_FUSION, even if I try to forcé to PLATFORM_SENSOR_FUSION

Regards

Mariano

Log in or register to post comments