Ios Unity 5.1.1错误:不允许包含dll或找不到dll

Ios Unity 5.1.1错误:不允许包含dll或找不到dll,ios,dll,unity3d,Ios,Dll,Unity3d,我是unity的新手,正在使用unity 5.1.1升级我的一个应用程序。它在4.6.2中运行得很好,但升级后我出现以下错误 ArgumentException: The Assembly UnityEditor is referenced by iGUI ('Assets/lib/igui/Runtime/iGUI.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.Assemb

我是unity的新手,正在使用unity 5.1.1升级我的一个应用程序。它在4.6.2中运行得很好,但升级后我出现以下错误

ArgumentException: The Assembly UnityEditor is referenced by iGUI ('Assets/lib/igui/Runtime/iGUI.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 /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:154)
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 /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:160)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:192)
UnityEditor.HostView:OnGUI()
我尝试将兼容性从“.NET2.0”子集更改为“.NET2.0”,但没有成功

任何帮助都将不胜感激


提前感谢

我在尝试构建包含自定义DLL的游戏时遇到了类似的问题,尽管我的错误消息略有不同

ArgumentException: The Assembly UnityEditor is referenced by Namespace.In.MyCustom.Dll ('Assets/Dlls/MyCustom.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:156)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:194)
UnityEditor.HostView:OnGUI()
我的DLL引用UnityEditor.DLL,它不包含在unity游戏的任何发行版本中。 我通过在Unity中选择MyCustom.dll解决了这个问题,并通过取消选中“Any Platform”停止在构建过程中包含它(见图)


万一你想试试。

听起来你需要和开发iGUI的人联系。你先生解决了我的问题。我把它从“Any”改为“Editor”,错误就消失了。谢谢