Quantcast
Channel: Questions in topic: "error build"
Viewing all articles
Browse latest Browse all 525

Colliding plugins[arcore_client.aar] error when building after importing Mapbox SDK

$
0
0
Using Unity 2019.2.21 f1 ***Hi, importing Mapbox SDK works fine but the moment I try to build my application I get this error*** ---------- *Found plugins with same names, Packages/com.unity.xr.arcore/Runtime/Android/arcore_client.aar and Assets/GoogleARCore/SDK/Plugins/arcore_client.aar. Delete the one of the duplicate plugins. UnityEditor.AndroidPluginImporterExtension:CheckFileCollisions(String) UnityEditorInternal.PluginsHelper:CheckFileCollisions(BuildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:122) ---------- Plugins colliding with each other. ---------- Build completed with a result of 'Failed' UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:122) ---------- UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:190 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:95 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:122) image of the error* ---------- So apparently Android/**arcore_client.aar** and Assets/GoogleARCore/SDK/Plugins/**arcore_client.aar** **are colliding** the latter is getting imported from Mapbox. ---------- **What have I tried** ---------- 1. tried disabling the GoogleARCore/SDK/Plugins/arcore_client.aar . This made it possible to build the application HOWEVER -> The AR Camera of all my scenes that use arcore-arfoundation for plane detection and object placement did not activate. Instead, I would get a skybox. --> I have no idea why this happens because it works perfectly before importing Mapbox and the arcore_client.aar that I disabled should not affect this as this was imported together with the Mapbox SDK. So my guess is that it stopped working the moment I imported Mapbox and not when I disabled the arcore_client.aar ---------- 2. tried deleting Android/arcore_client.aar instead of disabling GoogleARCore/SDK/Plugins/arcore_client.aar -> gives a lot of errors ---------- 3. tried using Wikitude ar camera and plane detection -> this works but the tracking is a lot worse than that of google arcore so this is not an option ---------- 4. tried messing with the ar camera options in the inspector --> no luck so far AR Camera inspector THANKS IN ADVANCE

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>