Unity项目无法使用Mono

时间:2019-09-27 19:15:00

标签: unity3d mono

我无法以单声道模式构建项目。它有效,但没有Il2cpp请帮助

1。错误

  

无法运行C:\ Program Files \ Unity 2019.3.0b4 \ Editor \ Data \ il2cpp \ build / UnityLinker.exe -out = C:/ shamstest / Temp / StagingArea /资产/ bin /数据/托管/ tempStrip -x = C:/shamstest/Temp/StagingArea/assets/bin/Data/Managed/../platform_native_link.xml -x = C:/shamstest/Temp/StagingArea/assets/bin/Data/Managed/TypesInScenes.xml -d = C:/ shamstest / Temp / StagingArea /资产/ bin /数据/托管--dotnetruntime = il2cpp --dotnetprofile = unityaot --use-editor-options --include-directory = C:/ shamstest / Temp / StagingArea /资产/ bin /数据/托管-规则集=保守-编辑器数据文件= C:/shamstest/Temp/StagingArea/assets/bin/Data/Managed/EditorToUnityLinkerData.json --platform = Android --enable-engine -module- stripping --engine-stripping-flag = EnableUnityConnect --engine-modules-asset-file =“ C:/程序文件/ Unity 2019.3.0b4 /编辑器/数据/ PlaybackEngines / AndroidPlayer /白名单/../模块。资产”

stdout:stderr:

  

√2.0.0.0,文化=中性,PublicKeyToken = cc7b13ffcd2ddd51“����������������������⥩。��㤠��������㪠�� �����..�Unity.Linker.UnityDriver..ctor(字符串[] args)�Unity.Linker.Program.Main(字符串[] args)

     

UnityEngine.Debug:LogError(对象)UnityEditorInternal.Runner:RunProgram(程序,字符串,String,String,String,CompilerOutputParserBase)UnityEditorInternal.Runner:RunManagedProgram(字符串,String,String,CompilerOutputParserBase,Action1)UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable1) ,String&,String&,String,String)UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String,String&,String&,IEnumerable1,UnityLinkerRunInformation)UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(UnityLinkerRunInformation)UnityEditorInternal.AssemblyProviderProvider(2) ,ManagedStrippingLevel)UnityEditorInternal.IL2CPPBuilder:Run()UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String,String,IIl2CppPlatformProvider,Action1,RuntimeClassRegistry)UnityEngine.GUIUtility:ProcessEvent(Int32,IntPtr)

2.ERROR

  

异常:C:\ Program Files \ Unity 2019.3.0b4 \ Editor \ Data \ il2cpp \ build / UnityLinker.exe无法正常运行! UnityEditorInternal.Runner.RunProgram(UnityEditor.Utils.Program p,System.String exe,System.String args,System.String workingDirectory,UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser)(在<5f8e991dd2b8dbbddbbdbbd441)在UnityEditorInternal.Runner.RunManagedProgramd字符串exe,System.String args,System.String workingDirectory,UnityEditor.Scripting.Compilers.CompilerOutputParserBase解析器,System.Action 1 [T] setupStartInfo) (at <5f8e8d7a2d2e2a2d2e1d2e2a2d2e1d2a2d2e2d1d2a2d1d2a2d1d2a2d1d2a2d1d2a2d1d2a2d1d2d1d2a7d2d2a7e2d1d2a7d2a) UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable 1 [T] args,System.String&out,System.String&err,System。字符串链接器路径,System.String workingDirectory)(位于0a8a8a8a8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Modifyityutfd8e8dre1drreg1dreme8dreg1dre1dremelass_megregor UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute(UnityEditor.Android.PostProcessor.PostProcessorContext c ontext)(at:0)UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTask​​s(UnityEditor.Android.PostProcessor.PostProcessorContext上下文)(at:0)UnityEditor.Android.PostProcessAndroidPlayer.PostProcess(UnityEditor.BuildTarget目标,System.String stagingAreaData,System .String stagingArea,System.String playerPackage,System.String installPath,System.String companyName,System.String productName,UnityEptions,Unitityptor

1 个答案:

答案 0 :(得分:2)