- Home /
Include iDirect.dll in Unity 2017.1,The Assembly UnityEditor is referenced by iDirect ('Assets/IonGFX/iDirect.dll'). But the dll is not allowed to be included or could not be found.
Unity version - Unity 2017.1.0f3(64 bit) Previously, we were using Unity 4.6.3 and the build was ok. Recently, we changed to a newer version of Unity. When we try to build the scene in Unity 2017.1.0f3, we get the following error. "ArgumentException: The Assembly UnityEditor is referenced by iDirect ('Assets/IonGFX/iDirect.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:142) 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:148) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179) UnityEditor.HostView:OnGUI()"
The iDirect.dll is there in the folder mentioned. I checked to find the iDirect.dll is actually a 32 bit dll. Can this dll be used in Unity 2017.1 during build? If so, please guide me to include the dll so that I can build successfully.
Any help in this issue is much appreciated. Thank you,Unity Version - Unity 2017.1.0f3 (64 bit) Not able to build in unity as it throws the following error: "ArgumentException: The Assembly UnityEditor is referenced by iDirect ('Assets/IonGFX/iDirect.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:142) 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:148) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179) UnityEditor.HostView:OnGUI()"
Previously, we were using Unity 4.6.3 version and we were able to build successfully. In the new version, I am not sure why I can't build. I notice that iDirect.dll is available in the specified folder. Upon investigation, I found iDirect.dll is a 32-bit dll.
But the build doesn't happen in any settings (64 or 32 bit)?
Any help to solve the error would be of great use.
Your answer
![](https://koobas.hobune.stream/wayback/20220612175954im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How to use Custom DLL for Hololens 0 Answers
How to properly use my own DLLs in Unity? 2 Answers
DLLNotFoundException ThinkGear 0 Answers
Failed to load DLL with error "The specified module cannot be found." 1 Answer