Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
befollow opened this issue Oct 17, 2024 · 2 comments

Comments

@befollow
Copy link

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

@befollow
Copy link
Author

2_Basketball这个项目

@mrwhalett
Copy link

mrwhalett commented Nov 4, 2024

我的项目puerts本体用2.1.0不会有这个报错,但是换成2.0.5就会有这个报错,但是换成2.1.0后会有其他问题,想知道你是怎么解决的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants