UnrealEngineHTML5 / Documentation

542 stars 182 forks source link

Pack html5 error #88

Closed thomasbergersen closed 3 years ago

thomasbergersen commented 3 years ago

UATHelper: 正在打包 (HTML5): AutomationTool exiting with ExitCode=5 (5) PackagingResults: Error: Unhandled exception: System.IO.FileNotFoundException: Could not find file "/Users/Shared/Epic_Games/UnrealEngine-4.24-html5/Engine/Intermediate/Build/HTML5/.emscripten" UATHelper: 正在打包 (HTML5): RunUAT ERROR: AutomationTool was unable to run successfully. PackagingResults: Error: AutomationTool was unable to run successfully. PackagingResults: Error: Unknown Error

mollymun commented 3 years ago

Hi thomasbergersen,

I am having the exact same error. I am assuming you have closed this because you fixed it, what was the solution? If you could let me know it would help so much! Thanks!

arterror commented 3 years ago

Hi thomasbergersen,

Same for me how did you resolved "Could not find file "/Users/Shared/Epic_Games/UnrealEngine-4.24-html5/Engine/Intermediate/Build/HTML5/.emscripten"

SaurabhKumbhar24 commented 3 years ago

Has anyone resolved this problem

zlatnaspirala commented 3 years ago

I have this error too. All you need to remove emscripten ENV values. Every env value related to the emscripten. After this i got healty builds.

arterror commented 3 years ago

@zlatnaspirala TX very much, could you be more specific, what file should I modify ? And what should I write exactly ?, TX

arterror commented 2 years ago

@zlatnaspirala "All you need to remove emscripten ENV values", please where do I remove that ? thanx

zlatnaspirala commented 2 years ago

For windows users :

env-for-windows

Remove any EMSCRIPTEN paths . You can also uninstall emsdk if you have it - Or simple change root folder name to OLD-emsdk to make it unabable

I am not sure for 100% but this is list [for system env vars]

NODE_JS 
LLVM_ROOT 
BINARYEN_ROOT 
EMSCRIPTEN_ROOT 

If oyu find EMSCRIPTEN_ROOT in system env remove it ....