I can't build my game, Please help.
I want to build my game for Windows with IL2CPP. But have 3 errors. Please help, I can't fix this for three days. :(
Deatils: I am using Unity 2019.4.1f1 personal. I have Windows 10 in my computer. I'm trying to make my first multiplayer game. I'm using Blender for my 3D models. It's a Unity 3D Universal Render Pipeline project
Error 1-
Win32Exception: ApplicationName='C:\Program Files\Unity\Hub\Editor\2019.4.1f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe', CommandLine='--convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WindowsDesktop" --architecture="x86" --configuration="Release" --outputpath="C:\Users\AADUMAN\AmongUs 3D\Temp/StagingArea/Data\Native\GameAssembly.dll" --cachedirectory="C:\Users\AADUMAN\AmongUs 3D\Assets\..\Library/il2cpp_cache" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.4.1f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="C:/Users/AADUMAN/AmongUs 3D/Temp/StagingArea/Data/Managed" --generatedcppdir="C:/Users/AADUMAN/AmongUs 3D/Temp/StagingArea/Data/il2cppOutput" ', CurrentDirectory='C:\Users\AADUMAN\AmongUs 3D\Temp\StagingArea\Data\Managed', Native error= An upgrade is required for the requested action.
System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <14e3453b740b4bd690e8d4e5a013a715>:0)
System.Diagnostics.Process.Start () (at <14e3453b740b4bd690e8d4e5a013a715>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditor.Utils.Program.Start () (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditorInternal.IL2CPPBuilder.Run () (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <a0a9ad37e16b4f7cb955e1101b72d4cc>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error 2-
Build completed with a result of 'Failed' in 10 seconds (10462 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error 3-
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <a0a9ad37e16b4f7cb955e1101b72d4cc>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <a0a9ad37e16b4f7cb955e1101b72d4cc>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Please help! I tried too much thing and didnt worked.
I can't build even an empty scene. There is no replies about 10 days.
Answer by ahmetalperenduman · Nov 03, 2020 at 09:49 AM
I reset the Player options of game and it solved. I dont know wich option caused this but however, It's solved.
Your answer
Follow this Question
Related Questions
Gradle build failed. 0 Answers
What does "ld: 2 duplicate symbols for architecture arm64" mean? 0 Answers
can't seem to open binary file after game is built (inside asset folder) 2 Answers
Gradle build failed after creating new key on publishing settings 0 Answers
iOS ARFoundation: pressing build does nothing,Building for iOS with AR Foundations will not start 1 Answer