arcore-unity-extensions icon indicating copy to clipboard operation
arcore-unity-extensions copied to clipboard

Unable to import UPM package (without EDM4U)

Open pixlhero opened this issue 2 years ago • 2 comments

When trying to import the ARCore Extensions (without EDM4U) following these instructions. It gives me the error

[Package Manager Window] Cannot perform upm operation: Unable to add package [file:/Users/raphaelanderegg/Downloads/arcore-unity-extensions-1.34.0-without-edm4u.tgz]: Package com.google.ar.core.arfoundation.extensions-lite@file:/Users/raphaelanderegg/Downloads/arcore-unity-extensions-1.34.0-without-edm4u.tgz has invalid dependencies or related test packages: com.google.external-dependency-manager (dependency): Version '^1.2.169' is invalid. Expected a 'SemVer' compatible value. [NotFound]. UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:356)

Might there be something wrong with the package dependency definitions?

Unity version: 2021.3.5f1 Intel on M1 Mac

pixlhero avatar Dec 01 '22 15:12 pixlhero

I have the same issue on 2021.3.15f and intel macbook pro. For me the solution was to use the version with bundled dependencies, remove the external dependencies manager from the package and install the external dependencies manager from this link.

michelepanegrossi avatar Dec 03 '22 02:12 michelepanegrossi

I found a perfect solution for this issue. I want to provide it here so anyone looking for it will find my answer. The instruction mentioned above is correct, however, the link to download the EDM package is wrong. The key to making it work is to install all packages with UPM from the TGZ file, including the EDM, which you should able to download from this link https://developers.google.com/unity/archive#external_dependency_manager_for_unity. The link provided in the instruction for the EDM only has the option to download the UnityPackage file, therefore messed up everything

NgocNguyen95 avatar Jun 20 '23 07:06 NgocNguyen95