Open Asanche opened 3 years ago
Bumping this issue. Was the source of many headaches of trying to perform an iOS build while using the Firebase Unity SDK.
In case it helps, here is a synopsis of the issues experienced and a solution for anyone else who encounters this:
Assets/External Dependency Manager
. This conflicts with the ARFoundation extensions External Dependency Manager when imported, resulting in the GUID error message above as well as a "Failed to create menu item" error as both managers are trying to add their menu items to the Assets menu.MissingMethodException: System.Collections.Generic.IEnumerable'1<string> Google.IOSResolver.GetXcodeTargetGuids(object,bool)
Google.XR.ARCoreExtensions.Editor.Internal.IOSSupportHelper.EnableIOSResolver ()
.The solution is to delete ARFoundation's outdated External Dependency Manager and update the _iosResolverGuid
variable in Editor/Scripts/Internal/IOSSupportHelper.cs
to the GUID found in Google.IOSResolver_{version}.dll.meta
of whatever is the more up-to-date version your project has installed. This resolves the Null Reference Exception and after some pods fiddling, I was able to get the build to successfully work on iOS.
Not sure why EDM is included inside the ARCore package, it should be a dependency which is listed on their site. I have been removing this as well for a while.
Any plans on EDM deleting or moving to reference?
At least with Unity 2022.2 in an a new clean project EDM is not even working correctly when included like this. No menu item becomes available and no dependencies get installed, preventing building.
I have a project that is dependent on the https://github.com/googlesamples/unity-jar-resolver package
If I include the arcore-unity-extensions repo, it gives me the following error at build-time
GUID [3aa17cd5f43042a1a7381759dc1258a7] for asset 'Packages/com.google.ar.core.arfoundation.extensions/Editor/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb' conflicts with: 'Packages/com.google.external-dependency-manager/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.
This package should not be directly included in the repo, afaict, and instead included as a package dependency.