์ ๋ํฐ๋ ๋ฌผ๋ก ์ด๊ณ ์ฝ๋ฉ๋ ์ฒ์๋ง์ ธ๋ด์ ๋ญ๊ฐ๋ญ์ง ํ๋๋ ๋ชจ๋ฅด๊ฒ ๋๋ฐย
2Dํ๋ก์ ํธ ์ด์ฐ์ด์ฐ ๋ค ๋ง๋ค๊ณ ๋น๋ํ๋ ค๊ณ ํ๊ฑฐ๋ ? ๊ทผ๋ฐ ์ค๋ฅ๊ฐ ๊ณ์ ๋ฌ๋คย
์ด๊ฒ ๋ญ์ค๋ฅ์ง๋ ๋ชจ๋ฅด๊ฒ ๊ณ ์ง์ง ๋ฏธ์น๊ฒ ๊ฑฐ๋ ์ ๋ฐ ๋์์ค.. ์ฐธ๊ณ ๋ก ์๋์ฐ์ผ
Failed running C:\Program Files\Unity\Hub\Editor\2019.4.0f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WindowsDesktop" --architecture="x64" --configuration="Release" --outputpath="C:\\Users\\user\\Dreaming Erysichthon\\Temp/StagingArea/Data\\Native\\GameAssembly.dll" --cachedirectory="C:\\Users\\user\\Dreaming Erysichthon\\Assets\\..\\Library/il2cpp_cache" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.4.0f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="C:/Users/user/Dreaming Erysichthon/Temp/StagingArea/Data/Managed" --generatedcppdir="C:/Users/user/Dreaming Erysichthon/Temp/StagingArea/Data/il2cppOutput"ย
stdout:
il2cpp.exe didn't catch exception: System.InvalidOperationException: C++ code builder is unable to build C++ code. In order to build C++ code for Windows Desktop, you must have one of these installed:
ย ย ย ย Visual Studio 2015 with C++ compilers and Windows 10 SDK (it cannot build C++ code because it is not installed)
ย ย ย ย Visual Studio 2015 installation is found by looking at "SOFTWARE\Microsoft\VisualStudio\14.0_Config\InstallDir" in the registry
ย ย ย ย Windows 10 SDK is found by looking at "SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder" in the registry
ย ย ย ย Visual Studio 2017 with C++ compilers and Windows 10 SDK (it cannot build C++ code because Windows SDK is not installed)
ย ย ย ย Visual Studio 2017 installation is found using Microsoft.VisualStudio.Setup.Configuration COM APIs
ย ย ย ย Windows 10 SDK is found by looking at "SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder" in the registryย
Exception: C:\Program Files\Unity\Hub\Editor\2019.4.0f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditorInternal.IL2CPPBuilder.Run () (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <af78ad00a40d4f61b82afc6cafb0a416>: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 <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Build completed with a result of 'Failed' in 39 seconds (39498 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
ย at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <af78ad00a40d4f61b82afc6cafb0a416>:0ย
ย at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <af78ad00a40d4f61b82afc6cafb0a416>:0ย
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
์ง์ง ํ๋๋ ๋ชฐ๋ผ์ ์ฝ์์ฐฝ ๋ณต๋ถํ์ด.. ์ด๋ ค์ฃผ๋ผย
ํน์ ์์ดํฐ ๋น๋ํ๋ - dc App
ใดใด PC, Mac & Linux Standalone ์ผ๋ก
๊ตฌ๊ธ ์ ๋๋ชน/๊ตฌ๊ธ ํ๋ ์ด ์๋น์ค ์ค์น ํ๋?
์๋ฌ์ ๋ก ํ๋ ๋ฐฉ๋ฒ์ด ์๋๋ฐ ์ ๋ชจ๋ฅด๋..
๋น์ฃผ์ผ ์คํ๋์ค์ window 10 SDK๋ฅผ ์ค์นํด๋ผ..
์ด๋ป๊ฒ ์ค์นํ๋๊ณ ๋ฌผ์ผ๋ฉด ์๋์ฐ ์คํ์ฐฝ์ install ์น๋ฉด visual studio installer๊ฐ ์์ํ ๋ฐ ๋๊ฐ ๊น ๋น์ฃผ์ผ ์คํ๋์ค ์์ ๋๋ฅด๊ณ ์๋์ฐ 10 sdk ์ค์นํด๋ผ..
ํ ์ง์ง ์ฌ๋ํด ๋๋ถ์ ํด๊ฒฐํ์ด
์ด๋์ ์์ด๊ณต๋ถ๋ถํฐ ํ๋ผ๋๊ฑฐ... ์ ๋ฐ ์ข ๊ธ์๋ค์
you must have one of these installed: Visual Studio 2015 with C++ compilers and Windows 10 SDK ์๋ฌ๋ ๋ชป์ฝ์ผ๋ฉด์ ๊ฐ๋ฐ์ ์ด์ผํ๋?
๊ณ ๋ง์ ์์ด ๋์์ง 2๋ ๋ผ์ ๋จธ๋ฆฌ์ ํ๋๋ ์๋ค์ด์ค๋๋ผ ใ ใ ํ๊ฐ์ ์ฌ๋๋ค๋๋ถ์ ์ธ์์ด ๋ฐ๋ค