i think this one is the main error.
(+ i have tried with “Result += " -s TOTAL_MEMORY=1610612736”;" in the HTML5ToolChain.cs file as described in
Sharing and Releasing Projects for Unreal Engine | Unreal Engine 5.3 Documentation ).
here is the error:
Error 32 error : Failed to start local
process for action:
Z:\Emscripten\python\2.7.5.3_64bit\python.exe
“C:\Program
Files\Emscripten\emscripten\1.22.0\emcc”
-fno-exceptions -Wno-unused-value -Wno-switch -Wno-tautological-constant-out-of-range-compare
-Wno-tautological-compare -Wno-logical-op-parentheses -Wno-array-bounds -Wno-invalid-offsetof -s TOTAL_MEMORY=1610612736 -s
DISABLE_EXCEPTION_CATCHING=1 -s
WARN_ON_UNDEFINED_SYMBOLS=1 -s
FULL_ES2=1 -s
EXPORTED_FUNCTIONS="['main’,
'resize_game’]" -s NO_EXIT_RUNTIME=1
–memory-init-file 1 -Wno-warn-absolute-paths -s GL_ASSERTIONS=1 -O2 -s ASM_JS=1 -s
OUTLINING_LIMIT=110000
-I"z:\UnrealEngine_4.5Build\Engine\Source"
-I"z:\UnrealEngine_4.5Build\Engine\Plugins\ScriptPlugin\Source"
-I"…/Plugins/ScriptPlugin/Source/ScriptPlugin/Classes"
-I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/ScriptPlugin"
-I"…/Plugins/ScriptPlugin/Source/ScriptPlugin/Public"
-I"Runtime/Core/Public" -I"Runtime/Core/Public/Internationalization"
-I"Runtime/Core/Public/Async" -I"Runtime/Core/Public/Containers" -I"Runtime/Core/Public/Delegates" -I"Runtime/Core/Public/GenericPlatform"
-I"Runtime/Core/Public/HAL" -I"Runtime/Core/Public/Logging" -I"Runtime/Core/Public/Math" -I"Runtime/Core/Public/Misc" -I"Runtime/Core/Public/Modules" -I"Runtime/Core/Public/Modules/Boilerplate"
-I"Runtime/Core/Public/ProfilingDebugging"
-I"Runtime/Core/Public/Serialization" -I"Runtime/Core/Public/Serialization/Json"
-I"Runtime/Core/Public/Serialization/Csv"
-I"Runtime/Core/Public/Stats" -I"Runtime/Core/Public/Templates" -I"Runtime/Core/Public/UObject" -I"Runtime/Core/Public/HTML5" -I"ThirdParty/zlib/zlib-1.2.5/Inc" -I"ThirdParty/zlib" -I"Runtime/Core" -I"Runtime/CoreUObject/Classes" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/CoreUObject"
-I"Runtime/CoreUObject/Public" -I"Runtime/CoreUObject/Public/Blueprint"
-I"Runtime/CoreUObject/Public/Misc" -I"Runtime/CoreUObject/Public/Serialization"
-I"Runtime/CoreUObject/Public/Templates"
-I"Runtime/CoreUObject/Public/UObject" -I"Runtime/CoreUObject" -I"Runtime/Engine/Classes" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/Engine"
-I"Runtime/Engine/Public" -I"Runtime/Engine/Public/AI" -I"Runtime/Engine/Public/EdGraph" -I"Runtime/Engine/Public/Features" -I"Runtime/Engine/Public/Landscape" -I"Runtime/Engine/Public/Net" -I"Runtime/Engine/Public/Slate" -I"Runtime/Engine/Public/Tests" -I"Runtime/Engine/Public/AI/Navigation"
-I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/Slate"
-I"Runtime/Slate/Public" -I"Runtime/Slate/Public/Framework" -I"Runtime/Slate/Public/Widgets" -I"Runtime/Slate/Public/Framework/Application"
-I"Runtime/Slate/Public/Framework/Commands"
-I"Runtime/Slate/Public/Framework/Docking"
-I"Runtime/Slate/Public/Framework/Layout"
-I"Runtime/Slate/Public/Framework/MultiBox"
-I"Runtime/Slate/Public/Framework/Notifications"
-I"Runtime/Slate/Public/Framework/Styling"
-I"Runtime/Slate/Public/Framework/Text"
-I"Runtime/Slate/Public/Framework/Views"
-I"Runtime/Slate/Public/Framework/Text/Android"
-I"Runtime/Slate/Public/Framework/Text/IOS"
-I"Runtime/Slate/Public/Widgets/Colors"
-I"Runtime/Slate/Public/Widgets/Docking"
-I"Runtime/Slate/Public/Widgets/Images"
-I"Runtime/Slate/Public/Widgets/Input" -I"Runtime/Slate/Public/Widgets/Layout"
-I"Runtime/Slate/Public/Widgets/Navigation"
-I"Runtime/Slate/Public/Widgets/Notifications"
-I"Runtime/Slate/Public/Widgets/Text" -I"Runtime/Slate/Public/Widgets/Views" -I"Runtime/InputCore/Classes" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/InputCore"
-I"Runtime/InputCore/Public" -I"Runtime/InputCore" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/SlateCore"
-I"Runtime/SlateCore/Public" -I"Runtime/SlateCore/Public/Animation" -I"Runtime/SlateCore/Public/Application"
-I"Runtime/SlateCore/Public/Brushes" -I"Runtime/SlateCore/Public/Fonts" -I"Runtime/SlateCore/Public/Input" -I"Runtime/SlateCore/Public/Layout" -I"Runtime/SlateCore/Public/Logging" -I"Runtime/SlateCore/Public/Rendering" -I"Runtime/SlateCore/Public/Sound" -I"Runtime/SlateCore/Public/Styling" -I"Runtime/SlateCore/Public/Textures" -I"Runtime/SlateCore/Public/Types" -I"Runtime/SlateCore/Public/Widgets" -I"Runtime/SlateCore" -I"Runtime/Slate" -I"Runtime/Messaging/Public" -I"Runtime/Messaging/Public/Common" -I"Runtime/Messaging/Public/Interfaces"
-I"Runtime/Messaging" -I"Runtime/RenderCore/Public" -I"Runtime/RenderCore" -I"Runtime/RHI/Public" -I"Runtime/RHI" -I"Runtime/ShaderCore/Public" -I"Runtime/ShaderCore" -I"Runtime/AssetRegistry/Public" -I"Runtime/AssetRegistry" -I"Runtime/EngineMessages/Classes" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/EngineMessages"
-I"Runtime/EngineMessages/Public" -I"Runtime/EngineMessages" -I"Runtime/EngineSettings/Classes" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/EngineSettings"
-I"Runtime/EngineSettings/Public" -I"Runtime/EngineSettings" -I"Developer/SynthBenchmark/Public" -I"Runtime/Renderer/Public" -I"Runtime/Renderer" -I"Developer/SynthBenchmark" -I"Runtime/AIModule/Public" -I"Runtime/AIModule/Classes" -I"…/…/…/UnrealProjects/ahsanGameArchive/Intermediate/Build/HTML5/ahsanGameArchive/Inc/AIModule"
-I"Runtime/AIModule" -I"Runtime/HTML5/HTML5JS/Public" -I"Runtime/HTML5/HTML5JS" -I"ThirdParty/Ogg" -I"ThirdParty/Vorbis/libvorbis-1.3.2/include"
-I"ThirdParty/Vorbis" -I"Runtime/Engine" -I"…/Plugins/ScriptPlugin/Source/ScriptPlugin"
-I"ThirdParty/Ogg/libogg-1.2.2/include"
-DUE_GAME=1 -DIS_PROGRAM=0 -DUE_ROCKET=0 -DUNICODE -D_UNICODE -D__UNREAL -DIS_MONOLITHIC=1 -DWITH_ENGINE=1 -DWITH_UNREAL_DEVELOPER_TOOLS=0 -DWITH_COREUOBJECT=1 -DUSE_STATS_WITHOUT_ENGINE=0 -DWITH_PLUGIN_SUPPORT=0 -DUSE_LOGGING_IN_SHIPPING=0 -DUE_BUILD_MINIMAL=1 -DWITH_EDITOR=0 -DWITH_EDITORONLY_DATA=0 -DWITH_SERVER_CODE=1 -DUBT_COMPILED_PLATFORM=HTML5 -DPLATFORM_HTML5=1 -DPLATFORM_HTML5_BROWSER=1 -DUNICODE -D_UNICODE -DWITH_AUTOMATION_WORKER=0 -DREQUIRES_ALIGNED_INT_ACCESS -DWITH_OGGVORBIS=1 -DUSE_SCENE_LOCK=0 -DNDEBUG=1 -DUE_BUILD_DEVELOPMENT=1 -DUE_PROJECT_NAME=ahsanGameArchive -DORIGINAL_FILE_NAME=“ahsanGameArchive-ScriptPlugin-Static.bc”
-DSCRIPTPLUGIN_API= -DUE_ENABLE_ICU=0 -DWITH_STEAMWORKS=0 -DWITH_DIRECTXMATH=0 -DCORE_API= -DCOREUOBJECT_API= -DWITH_PHYSX=1 -DWITH_APEX=0 -DWITH_BOX2D=0 -DWITH_RECAST=1 -DENGINE_API= -DWITH_FREETYPE=1 -DSLATE_API= -DINPUTCORE_API= -DWITH_FREETYPE=1 -DSLATECORE_API= -DMESSAGING_API= -DRENDERCORE_API= -DRHI_API= -DSHADERCORE_API= -DASSETREGISTRY_API= -DENGINEMESSAGES_API= -DENGINESETTINGS_API= -DSYNTHBENCHMARK_API= -DRENDERER_API= -DWITH_RECAST=1 -DAIMODULE_API= -DHTML5JS_API= -DWITH_OGGVORBIS=1 “z:\UnrealEngine_4.5Build\Engine\Plugins\ScriptPlugin\Source\ScriptPlugin\Private\ScriptPlugin.cpp”
-o “z:\UnrealEngine_4.5Build\Engine\Intermediate\Build\HTML5\ahsanGameArchive\Development\Plugins\Static\ScriptPlugin\ScriptPlugin.cpp.bc”
-std=c++11 Z:\UnrealProjects\ahsanGameArchive\Intermediate\ProjectFiles\UnrealBuildTool.BuildException ahsanGameArchive
any idea why it is failing?