我正在尝试发布WebGl构建,并且无论我在论坛上尝试什么,都会不断收到以下错误消息。
我的版本在任何其他平台上运行良好
第一个错误:
运行C:\ Program失败 Files \ Unity \ Editor \ Data \ il2cpp / build / il2cpp.exe --convert-to-cpp --compile-cpp --libil2cpp-static --platform =“WebGL”--architecture =“EmscriptenJavaScript”--configuration =“Release”--outputpath =“C:\ Users \ jmassa \ Documents \ Lidl ENT \ Assets / ../Temp/StagingArea/Data\Native\build.bc” --cachedirectory =“C:\ Users \ jmassa \ Documents \ Lidl ENT \ Assets .. \ Library / il2cpp_cache”--compiler-flags =“ - Oz -DIL2CPP_EXCEPTION_DISABLED = 1“ - additional-libraries =”C:\ Program Files \ Unity \ Editor \ Data \ PlaybackEngines \ WebGLSupport \ BuildTools \ lib \ modules \ WebGLSupport_AIModule_Dynamic.bc“ --additional-libraries =“C:\ Program Files \ Unity \ Editor \ Data \ PlaybackEngines \ WebGLSupport \ BuildTools \ lib \ modules \ WebGLSupport_AnimationModule_Dynamic.bc” --additional-libraries =“C:\ Program Files \ Unity \ Editor \ Data \ PlaybackEngines \ WebGLSupport \ BuildTools \ lib \ modules \ WebGLSupport_AudioModule_Dynamic.bc” --additional文库=“C:\程序
第二个错误:
异常:C:\ Program Files \ Unity \ Editor \ Data \ il2cpp / build / il2cpp.exe 运行不正常! UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p,System.String exe,System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase解析器)(at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130) UnityEditorInternal.Runner.RunManagedProgram(System.String exe, System.String args,System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase解析器, System.Action`1 setupStartInfo)(at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
第三个错误:
UnityEditor.BuildPlayerWindow + BuildMethodException:Build失败 错误。在 UnityEditor.BuildPlayerWindow + DefaultBuildMethods.BuildPlayer (BuildPlayerOptions选项)[0x001b9] in C:\ buildslave \团结\建立\编辑\单声道\ BuildPlayerWindowBuildMethods.cs:162 在UnityEditor.BuildPlayerWindow.CallBuildMethods(布尔值 askForBuildLocation,BuildOptions defaultBuildOptions)[0x00050] in C:\ buildslave \团结\建立\编辑\单声道\ BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI()
如果有任何人有任何见解,将不胜感激。非常感谢。
答案 0 :(得分:0)
在Windows 7上构建不适用于我。尝试使用Windows 10最新更新