When I try to build any project in Unity 2017.3.0f3 on Windows 10, I get three errors in the Console and no build:
The first is:
ArgumentException: The Assembly UnityEngine is referenced by UnityEngine.UI ('C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.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:196)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
The second is:
Build completed with a result of 'Failed'
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
The third is:
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
This is happening on a two-week old Alienware 13r3 with nvidia gtx 1060 and Intel(R) Core™ i7-7700HQ CPU @ 2.80GHz; 16gb ram; Intel(R) HD Graphics 630; Windows 10.
I’ve tried uninstalling and reinstalling Unity. I’ve also tried reinstalling Windows. This occurs on an entirely empty project, more complex scenes and happens all the time. Any ideas?
I’ve uploaded the editor.log file - had to give it a new extension on account of the forums’ security settings. To make sure it is easy to read I deleted the old file, launched Unity, opened the Empty project, went to build and run and tried to build the project. As you can see, the build was not successful.
Does this file (“<UNITY_INSTALL_DIR>\Editor\Data\PlaybackEngines\windowsstandalonesupport\Managed\UnityEngine.dll”) exist? Did you install Unity using Unity Download Assistant?
Yes, I did install using the download assistant from Download - Unity Store - and I’ve reinstalled Windows and did it from there again last night. And, running Unity as administrator makes no difference which implies that it’s not a permissions problem. Although, I set all account types to have full control over that entire directory to see.
Here is a screenshot showing those files in that location
Hi, I’ve the same issue, where can I find index-local.xml on a mac?
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:187
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:94
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)```
@mickyfx where you able to find the file on Mac, and/or sort the problem?
I’m having the same issue trying to build in Linux, and can’t find that file either (what’ts weird is that the same project builds just fine on Mac and Windows…)