[์ํฉ]
Unity 2018.4.31f1 ์์ ์๋์ ๊ฐ์ด Build ์ ํ ํ Android ๋น๋ ์ค ์๋ ์๋ฌ ๋ฐ์
Mono Build ํ ๋ ์๋ฌ๊ฐ ์๋ฌ์๋๋ฐ, IL2CPP ๋ก ๋ฐ๊พธ๊ณ ๋น๋ํ๋ ์๋ฌ๊ฐ ๋ฌ๋ค.
์ ๋, Runtime Version ์ .NET 3.5 Equivalent ์ด Deprecated ๋ผ๊ธธ๋ .NET 4.x Equivalent ๋ก ๋ณ๊ฒฝํ๊ธด ํ๋ค.
[์๋ฌ ๋ฉ์ธ์ง]
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:194
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:97
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
[์ํ์ฐฉ์ค]
1) Unity ๊ฐ 2๊ฐ ์ผ์ ธ ์์ผ๋ฉด ์๋๋์ 1๊ฐ๋ง ๋๊ณ ๋น๋ํ๋๋ฐ ์๋จ.
2) Reimport ํด๋ด๋ ์๋จ
3) Andoid SDK ์ ๋ฐ์ดํธ ํด๋ด๋ ์๋จ
4) Strip Engine Code ์์ฑ ํด์ -> ์ฑ๊ณต!
: ์ฌ์ฉํ์ง ์๋ ์๋ฌ๊ฐ ๋๋ Script ๋ฅผ ๋น๋์ ํฌํจ์ํค์ง ์์์ผ๋ก์จ ํด๊ฒฐ๋๋ ๋ฏ ํ๋ค.
https://docs.unity3d.com/kr/2018.4/Manual/ManagedCodeStripping.html