- Home /
Hello when i change mono to IL2cpp then some error occured. How to fix these error please help
Error 1 Failed running C:\Program Files\Unity\Editor\Data\il2cpp\build/deploy/net471/UnityLinker.exe -out="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/tempStrip" -x="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/../platform_native_link.xml" -x="C:/Users/SNCOMP~1/AppData/Local/Temp/tmp7dbd220f.tmp" -x="C:/Users/SNCOMP~1/AppData/Local/Temp/tmp3e8419d4.tmp" -x="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/TypesInScenes.xml" -d="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed" --include-unity-root-assembly="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll" --include-unity-root-assembly="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll" --include-unity-root-assembly="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/com.unity.multiplayer-hlapi.Runtime.dll" --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed" --rule-set=Conservative --editor-data-file="E:/APPS SOURCE CODE/SAFE ZOMBIE BOW MASTER/Temp/StagingArea/assets/bin/Data/Managed/EditorToUnityLinkerData.json" --platform=Android --enable-engine-module-stripping --engine-modules-asset-file="C:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/Whitelists/../modules.asset"
stdout: stderr:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. at Unity.Linker.UnityDriver..ctor(String[] args) at Unity.Linker.Program.Main(String[] args)
UnityEngine.Debug:LogError(Object) UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String, String&, String&, IEnumerable`1, UnityLinkerRunInformation) UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(UnityLinkerRunInformation) UnityEditorInternal.AssemblyStripper:StripAssemblies(String, BaseUnityLinkerPlatformProvider, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) UnityEditorInternal.IL2CPPBuilder:Run() UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error 2
UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (UnityEditorInternal.UnityLinkerRunInformation runInformation) (at :0) UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.BaseUnityLinkerPlatformProvider unityLinkerPlatformProvider, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at :0) UnityEditorInternal.IL2CPPBuilder.Run () (at :0) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at :0) UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :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 :0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error 3
Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error 4
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00275] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)