收藏
回答

unity导出微信python\2.7.5.3_64bit\python.exe

Failed running "D:/Program Files/unity/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "D:/Program Files/unity/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten\emcc" @"E:\program\game\unityGame2\rose_xiyou_client\Assets\..\Temp\emcc_arguments.resp"


stdout:

stderr:E:\program\game\unityGame2\rose_xiyou_client\Assets\Plugins\WebGL\lauxlib.c:577:61: warning: while loop has empty body [-Wempty-body]   while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;                                                            ^E:\program\game\unityGame2\rose_xiyou_client\Assets\Plugins\WebGL\lauxlib.c:577:61: note: put the semicolon on a separate line to silence this warning1 warning generated.warning: unresolved symbol: lua_getglobalwarning: unresolved symbol: lua_isintegerwarning: unresolved symbol: lua_setglobalwarning: unresolved symbol: luaopen_bit32warning: unresolved symbol: luaopen_cjsonwarning: unresolved symbol: luaopen_cjson_safewarning: unresolved symbol: luaopen_mime_corewarning: unresolved symbol: luaopen_protobuf_cwarning: unresolved symbol: luaopen_socket_corewarning: unresolved symbol: luaopen_sproto_corewarning: unresolved symbol: tolua_pushglobaltableAssertion failed: isConcreteType(block->type) && singleton->type == unreachable, file C:\buildslave\emscripten\binaryen\src\ir/block-utils.h, line 47ERROR:root:'D:/Program Files/unity/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten_FastComp_Win\binaryen\bin\asm2wasm E:\program\game\unityGame2\rose_xiyou_client\Temp\StagingArea\Data\linkresult_wasm\build.temp.asm.js --total-memory=268435456 --trap-mode=allow -O3 --mem-init=E:\program\game\unityGame2\rose_xiyou_client\Temp\StagingArea\Data\linkresult_wasm\build.js.mem --mem-base=1024 --wasm-only -g --symbolmap=E:\program\game\unityGame2\rose_xiyou_client\Temp\StagingArea\Data\linkresult_wasm\build.js.symbols -o E:\program\game\unityGame2\rose_xiyou_client\Temp\StagingArea\Data\linkresult_wasm\build.wasm' failed

UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions)

WeChatWASM.WXEditorWindow:Build() (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:359)

WeChatWASM.WXEditorWindow:DoExport(Boolean) (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1419)

WeChatWASM.WXEditorWindow:OnGUI() (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1337)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

回答关注问题邀请回答
收藏

2 个回答

  • Ocean
    Ocean
    2023-03-08

    请使用git上demo中提供的lua binding, 你这里错误的原因是WebGL导出需要lua c源码参与编译。

    2023-03-08
    有用
    回复
  • 小游戏运营专员 - 宏
    小游戏运营专员 - 宏
    2023-03-01

    提供下appid

    2023-03-01
    有用
    回复
登录 后发表内容