- Home /
UnityEditor assembly referenced by third party DLL
We received a DLL from a client which is required for using their API. The problem is, the DLL produces the following error when building the project: ArgumentException: The Assembly UnityEditor.iOS.Extensions.Xcode is referenced by LEGOTracking ('Assets/LEGOSDKs/Tracking/LEGOTracking.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:146) UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:152) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:184) UnityEditor.HostView:OnGUI()
If I am understanding this correctly, we cannot build at all while using this DLL? Because it references the Editor assembly. Does any workarounds for this exist?
Your answer
![](https://koobas.hobune.stream/wayback/20220612123106im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can Editor scripts be in external DLL's or assemblies? 1 Answer
How to fix this crazy error? 3 Answers
Included DLLs? What are those? 1 Answer
How can we use httpwebrequest in editor 0 Answers
Custom editor DLLs 1 Answer