- Home /
4 Build Errors for Rollaball game (windows)
Hi, I get the following errors when trying to build the Rollaball game from the Unity tutorial.
1 - Failed running C:\Progam Files\Unity\Hub\2019.4.7f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe
2 - Exception: C:\Program Files\Unity\Hub\Editor\2019.4.7f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!
3 - Build completed with a result of 'Failed' in 140 seconds (139520 ms) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
4 - UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
I'm new to Unity and I couldn't see this answered anywhere else. I have downloaded the il2cpp module from the Hub and downloaded the Windows 10 SDKs. Did I not do these right?
To clarify, the game works perfectly fine when I play it in the Unity editor, so I doubt it is an issue with the code.
Also, this is the tutorial that I am following: https://learn.unity.com/tutorial/building-the-game/?projectId=5f158f1bedbc2a0020e51f0d&tab=overview
The version of Unity that I am using is 2019.4.7f1
Answer by N-8-D-e-v · Sep 21, 2020 at 05:21 PM
It isn't an issue with the code, try reinstalling Unity
Sorry, I meant reinstall Unity hub, because the first two errors say that the hub failed to run properly. Also, build the project in it's own folder OUTSIDE the assets folder
Your answer
Follow this Question
Related Questions
Build Error With Stack Overflow in Error Log 0 Answers
Cannot build for Windows Store Apps because of 'Invalid Characters in Path' 0 Answers
Unity PC (Windows) Build failing 2 Answers
TCP client constructor error in Universal Windows Platform build 0 Answers
Can't build with IL2CPP on both Windows and Android 3 Answers