recently upgraded Unity to 2019.3.8f1 with great difficulty, and Android outpackage students have also successfully outpackage online. Results according to operation feedback, some players could not start the game and reported an error of “Failed to load il2cpp“, as shown in figure
, which had never been encountered before.
later after considering this is the upgrade of problem, think either Unity version of the bug, caused by improper or upgrade strong>.
at that time, the latest version of Unity had arrived at 2019.3.14f1. I looked through the release note after 3.8 and found that none of them mentioned this kind of bug. Baidu Google search mentioned about this problem also said in 2019.3.0A has been solved.
, after communicating with the classmate of Android package, I found that the version of NDK is not recommended by Unity. There is a note above, as shown in figure
, which means that the current version of Unity only supports NDK 19.0.5232133. With “Finally found the problem!!” Check the NDK version of his Unity, the result is 19.0.5232133. I could only have left resentfully, but the Android classmate claimed that the NDK version he used for Android Studio was still NDK R14. Yes, that’s it. That’s it.
- Unity Android failed to extract resources needed byil2cpp
- How to Solve Unity Package Android Project Error
- After unity connects with androidstudio, unity packages APK with an error: commandinvocationfailure: failed to re package resources
- Unity package APK exception failed to re package resources
- Solution: unity package failed. Commandinvocationfailure: gradle build failed
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- Unity install ilruntime plug-in [novice installation tutorial] (supported by unity2018 and later versions)
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Adobe finally launched Photoshop fix on Android, a powerful mobile phone map revision app
- Notes on unity project_ Unity webplayer failed to update unity web player
- Unity Android packaging error “UnityEditor.BuildPlayerWindow+BuildMethodException” solution record
- The solution of Android package error
- Unity3d open prompt failed to initialize unity graphic
- Unity-failed to update unity web player
- Unity – error reporting encountered in APK package
- Unity package encountered an error report about gradle build failed
- fail to start Unity Package Manager
- How to select the jar package version for Maven package when the jar package versions referenced by multiple modules are inconsistent
- Error in unity URP packaging Android shader
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk