I am trying to build to WebGL via Unity 2019.2.11f1 but I keep getting errors and I have been trying to debug it ever since.
I keep receiving this
Code (CSharp):
Failed running "C:/Program Files/Unity/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "C:/Program Files/Unity/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten\emcc" @"C:\Users\Main\Documents\Sabar Projects\Saber 1\Effects\ExportedProject - Copy\Assets\..\Temp\emcc_arguments.resp"
stdout:
stderr:WARNING:root:--separate-asm works best when compiling to HTML. Otherwise, you must yourself load the '.asm.js' file that is emitted separately, and must do so before loading the main '.js' file. [-Wseparate-asm]ERROR:root:TOTAL_MEMORY must be at least 16MB, was 0
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:122)
I think the main issue comes from this error
Code (CSharp):
[-Wseparate-asm]ERROR:root:TOTAL_MEMORY must be at least 16MB, was 0
But I don't know what to do
Please, can anyone help?
↧