I'm having problems building to WEBGL when I select specific settings in the build options. If I have development build on, the build will fail. If I have "Full with Stacktraces" on in publishing settings, the build will fail. I've been able to build one development build of my game before but It will not build as a development build anymore. **The game WILL build if Development build is off and "Full with Stacktraces" is off in publishing settings.**
----------
![alt text][1]
**Here are the errors I keep getting when the build fails...**
----------
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:190
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:95
0x00007FF6207D260C (Unity) StackWalker::GetCurrentCallstack
0x00007FF6207D5AE1 (Unity) StackWalker::ShowCallstack
0x00007FF61F06E835 (Unity) GetStacktrace
0x00007FF6213893AD (Unity) DebugStringToFile
0x00007FF620806A94 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000025C98BCB29B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000025C98BCB15B (Mono JIT Code) [DebugLogHandler.cs:10] UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000025C98BCA7F1 (Mono JIT Code) [Logger.cs:61] UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000025C98BCA45D (Mono JIT Code) [Debug.bindings.cs:127] UnityEngine.Debug:LogError (object)
0x0000025C98903A33 (Mono JIT Code) [BuildPlayerWindowBuildMethods.cs:101] UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000025C9543579B (Mono JIT Code) [BuildPlayerWindow.cs:897] UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)
0x0000025C9542B5B3 (Mono JIT Code) [BuildPlayerWindow.cs:788] UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000025C953FB95B (Mono JIT Code) [BuildPlayerWindow.cs:359] UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000025C8D314450 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF9E3ACC010 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF9E3A52122 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF9E3A5B2F2 (mono-2.0-bdwgc) [object.c:3073] mono_runtime_invoke_checked
0x00007FF9E3A5BA89 (mono-2.0-bdwgc) [object.c:5264] mono_runtime_try_invoke_array
0x00007FF9E3A5B286 (mono-2.0-bdwgc) [object.c:5142] mono_runtime_invoke_array_checked
0x00007FF9E3A002B4 (mono-2.0-bdwgc) [icall.c:3358] ves_icall_InternalInvoke
0x0000025C8AC8C906 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
0x0000025C8AC8AECB (Mono JIT Code) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0x0000025C8AC8AB8F (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
0x0000025C9241D6B3 (Mono JIT Code) [HostView.cs:359] UnityEditor.HostView:Invoke (string,object)
0x0000025C9241D503 (Mono JIT Code) [HostView.cs:354] UnityEditor.HostView:Invoke (string)
0x0000025C953F97B3 (Mono JIT Code) [HostView.cs:139] UnityEditor.HostView:OldOnGUI ()
0x0000025C93414081 (Mono JIT Code) [IMGUIContainer.cs:281] UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect)
0x0000025C9341206B (Mono JIT Code) [IMGUIContainer.cs:485] UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect)
0x0000025C9429E8BB (Mono JIT Code) [IMGUIContainer.cs:466] UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event)
0x0000025C92408ED3 (Mono JIT Code) [IMGUIContainer.cs:447] UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000025C94298380 (Mono JIT Code) [MouseCaptureDispatchingStrategy.cs:98] UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000025C923C7D1F (Mono JIT Code) [EventDispatcher.cs:282] UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000025C923C1C03 (Mono JIT Code) [EventDispatcher.cs:157] UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000025C923C1823 (Mono JIT Code) [Panel.cs:191] UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000025C9231059B (Mono JIT Code) [UIElementsUtility.cs:258] UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000025C9230F7AB (Mono JIT Code) [UIElementsUtility.cs:78] UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
0x0000025C9230EEAE (Mono JIT Code) [GUIUtility.cs:179] UnityEngine.GUIUtility:ProcessEvent (int,intptr)
0x0000025C9230F333 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
0x00007FF9E3ACC010 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF9E3A52122 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF9E3A5B11F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF62075C842 (Unity) scripting_method_invoke
0x00007FF6207564F1 (Unity) ScriptingInvocation::Invoke
0x00007FF62075074A (Unity) ScriptingInvocation::Invoke
0x00007FF61DC9F3D9 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007FF61E71320C (Unity) GUIView::ProcessRetainedMode
0x00007FF61F095677 (Unity) GUIView::OnInputEvent
0x00007FF61E71311C (Unity) GUIView::ProcessInputEvent
0x00007FF61F096ED5 (Unity) GUIView::ProcessEventMessages
0x00007FF61F08A1BB (Unity) GUIView::GUIViewWndProc
0x00007FFA1C02CA66 (USER32) DispatchMessageW
0x00007FFA1C02C582 (USER32) DispatchMessageW
0x00007FF61F075ED1 (Unity) MainMessageLoop
0x00007FF61F07876F (Unity) WinMain
0x00007FF621D24672 (Unity) __scrt_common_main_seh
0x00007FFA1BF57974 (KERNEL32) BaseThreadInitThunk
0x00007FFA1C6EA271 (ntdll) RtlUserThreadStart
----------
Exception: Failed building WebGL Player.
UnityEditor.WebGL.ProgramUtils.StartProgramChecked (System.Diagnostics.ProcessStartInfo p) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/ProgramUtils.cs:48)
UnityEditor.WebGL.WebGlBuildPostprocessor.EmscriptenLink (UnityEditor.Modules.BuildPostProcessArgs args, System.Boolean wasmBuild, System.String sourceFiles, System.String sourceFilesHash) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:446)
UnityEditor.WebGL.WebGlBuildPostprocessor.LinkBuild (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:496)
UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:931)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at C:/buildslave/unity/build/Editor/Mono/Modules/DefaultBuildPostprocessor.cs:27)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
----------
Failed running "C:/Program Files/Unity/Editor/2019.2.10f1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "C:/Program Files/Unity/Editor/2019.2.10f1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten\emcc" @"C:\Users\maver\Desktop\Melted\Melted\Assets\..\Temp\emcc_arguments.resp"
[1]: /storage/temp/147987-publishingsettings.png
↧