Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Can't Build with IL2CPP for Android after 2019.2.15 Update(Empty Project) on "Local Disc C"

$
0
0
After updated Unity to 2019.2.15 version I can't build my projects anymore. When I moved my projects to "Local Disc D" it can build but not on "Local Disc C" where my Windows 10 is installed. I want to work on Local Disc C because it is Raid 1 and works faster. Keep in mind that I'm trying to build an empty Project. Problem 0 => When I use recommended Android NDK Installed with Unity, it cant find the NDK files saying "Unable to Locate Android NDK". The path to recommended NDK is "C:\Program Files\Unity\Hub\Editor\2019.2.15f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK". When unchecked the recommended box and change the folder path to children folder of it then it works fine which is "C:\Program Files\Unity\Hub\Editor\2019.2.15f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\android-ndk-r16b" Problem 1 => So after handling the NDK's "parent folder path problem" I try to build the empty project but it gives whole lot of errors and I don't know why. All these systems was working fine with 2019.1xxx version but with 2019.2.15 it doesn't build. ![alt text][1] Here is the full error message for you to copy or something => Failed running C:\Program Files\Unity\Hub\Editor\2019.2.15f1\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="C:\GameProjects\EmptyProjectBuild\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="C:\GameProjects\EmptyProjectBuild\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.2.15f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.2.15f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/Program Files/Unity/Hub/Editor/2019.2.15f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.2.15f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=C:/GameProjects/EmptyProjectBuild/Temp/StagingArea/assets/bin/Data/Managed --generatedcppdir=C:/GameProjects/EmptyProjectBuild/Temp/StagingArea/Il2Cpp/il2cppOutput Problem 2 => So I decided to use my manual downloaded NDK from Google itself. Folder path is "D:\android-ndk-r16b". But it also does not build. ![alt text][2] Remember it all works fine when I moved my project folder to "Local Disc D". Can you tell me what the problem is? Thank you. [1]: /storage/temp/149991-2.png [2]: /storage/temp/149992-3.png

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>