[WebGL] Failed to run player after building

Issue #93 closed
Kevin Mettes created an issue

I build the bundles and pass it on to the build player. The build player is set to Auto Run Player, Connect with Profiler and Development Build.

After building I get the following exception

InvalidOperationException: Cannot process request because the process (11004) has exited.
System.Diagnostics.Process.GetProcessHandle (System.Int32 access, System.Boolean throwIfExited) (at <ca00e5a0ced74b3c90c78d40446cd905>:0)
System.Diagnostics.Process.GetProcessHandle (System.Int32 access) (at <ca00e5a0ced74b3c90c78d40446cd905>:0)
System.Diagnostics.Process.Kill () (at <ca00e5a0ced74b3c90c78d40446cd905>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process:Kill ()
UnityEditor.WebGL.HttpServerEditorWrapper.CreateIfNeeded (System.String path, System.Int32& port) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/HttpServerEditorWrapper.cs:87)
UnityEditor.WebGL.WebGlBuildPostprocessor.LaunchPlayer (UnityEditor.Modules.BuildLaunchPlayerArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:303)
UnityEditor.PostprocessBuildPlayer.Launch (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, System.String path, System.String productName, UnityEditor.BuildOptions options, UnityEditor.BuildReporting.BuildReport buildReport) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:225)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()

Comments (1)

  1. Log in to comment