Skip to content

[unity] WebGL模式下Build 报错 Fatal: error in parsing input emcc: error #70

@befollow

Description

@befollow

error log | 日志或报错信息

Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
[parse exception: attempted pop from empty stack / beyond block start boundary at 21046963 (at 0:21046963)]
Fatal: error in parsing input
emcc: error: '"C:/Program Files/Unity/Hub/Editor/2022.3.43f1c1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/binaryen\bin\wasm-emscripten-finalize" Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm -o Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm --detect-features' failed (returned 1)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Build completed with a result of 'Failed' in 18 seconds (18133 ms)
Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
[parse exception: attempted pop from empty stack / beyond block start boundary at 21046963 (at 0:21046963)]
Fatal: error in parsing input
emcc: error: '"C:/Program Files/Unity/Hub/Editor/2022.3.43f1c1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/binaryen\bin\wasm-emscripten-finalize" Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm -o Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm --detect-features' failed (returned 1)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

context | 编译/运行环境

Unity 2022.3.43

how to reproduce | 复现步骤

WebGL模式下Build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions