when using Ml agents and AR Code I get the Error, Unity Version 2021.3.3f1 LTS:
Multiple precompiled assemblies with the same name Google.Protobuf.dll included on the current platform. Only one assembly with the same name is allowed per platform. (…/Library/PackageCache/com.unity.barracuda@2.0.0/Barracuda/Runtime/Plugins/ProtoBuffer/Google.Protobuf.dll)
Multiple precompiled assemblies with the same name Google.Protobuf.dll included on the current platform. Only one assembly with the same name is allowed per platform. (…/Library/PackageCache/com.google.ar.core.arfoundation.extensions@b9496c2059/Editor/Scripts/Internal/Analytics/Google.Protobuf.dll)
Hi @GamerLordMat as @davidmo_unity said we don’t have a good solution at the moment. The problem being that both package provide there own version of protobuf and as you state this collide. A work around would be to grab the AR foundation package from source and remove the protobuf dll from it, it will then use the one provided by Barracuda. Do do that: