Reputation: 11335
I have unity3d editor version : 2018.4.5f1 Personal
When I'm doing : File > Buil Settings... then Build or File > Build And Run I'm getting after 1-2 seconds exceptions :
First :
Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Then :
UnityEditor.BuildPlayerWindow+BuildMethodException: 6 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
A screenshot of the building window :
Tried to google, I don't have any plugin/s folder in the Assets as someone suggested to delete. Someone else suggested : "use legacy SDK tools" (player settings >> publishing settings" But I can't find anywhere in the editor the publishing settings.
Maybe I should download and update to the latest unity editor version ?
Upvotes: 2
Views: 7014
Reputation: 1
In my case, I went to Canvas, (2D Game) selected the animation which was causing the issues, Score. Clicked on Motion and select None
. The selected value was Blender
, I don't understand why. That solved all the issues.
Upvotes: 0
Reputation: 31
I also struggled with this, but the following fixed it for me:
From this link: https://forum.unity.com/threads/unity-build-errors.663364/
Upvotes: 3
Reputation:
make sure you don't have a blank script who connect each other script and make sure you don't have an error on your script like missing reference etc, try to update your unity this only my opinion because if I'm getting an error that must be from the script, correct me if I'm wrong
Upvotes: 1