Open Bricktheworld opened 5 years ago
Try to delete all the libraries contained inside the ML-Agents/Plugins/Android that use the System."something". The issue occurs because the engine sees the same assembly file in two different directories and therefore it complains. It's a bit naive solution but in my case it worked.
Hello, when I try to compile, I get this error message. I'm not sure what the issue is. I have tried compiling for android.
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e) Copyright (C) Microsoft Corporation. All rights reserved.
error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Threading.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Threading.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Text.Encoding.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Text.Encoding.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Runtime.Numerics.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Runtime.Numerics.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Resources.ResourceManager.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Resources.ResourceManager.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Reflection.Extensions.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Reflection.Extensions.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Diagnostics.Debug.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Diagnostics.Debug.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Collections.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Collections.dll'. Remove one of the duplicate references. error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\ML-Agents\Plugins\Android\System.Collections.Concurrent.dll' and 'C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\Facades\System.Collections.Concurrent.dll'. Remove one of the duplicate references.