Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feedback WebGL builds break after upgrading from 2019.3.0f6 to 2019.3.1f1

Discussion in 'Editor & General Support' started by ElnuDev, Feb 14, 2020.

  1. ElnuDev

    ElnuDev

    Joined:
    Sep 24, 2017
    Posts:
    298
    I've just upgraded my WebGL project from Unity 2019.3.0f6 to 2019.3.1f1 and unfortunately my builds are now breaking. When I try to build and run, I get the following errors:

    Failed running "C:/Users/ElnuDev/Desktop/Game Files/2019.3.1f1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "C:/Users/ElnuDev/Desktop/Game Files/2019.3.1f1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten\emcc" @"C:\Users\ElnuDev\Desktop\Game Files\Tank\Assets\..\Temp\emcc_arguments.resp"

    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:445)
    UnityEditor.WebGL.WebGlBuildPostprocessor.LinkBuild (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:495)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:930)
    UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <c10752821eec4acbb89ccd53fbbc5e27>:0)
    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 <c10752821eec4acbb89ccd53fbbc5e27>:0)
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

    Build completed with a result of 'Failed'
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

    UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00275] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


    Any thoughts? Thanks in advance! I'm going to try making an empty 2019.3.1f1 WebGL project and see if I can replicate the issue issue.
     
  2. ElnuDev

    ElnuDev

    Joined:
    Sep 24, 2017
    Posts:
    298
    Okay, interesting. Making an empty 2019.3.1f1 WebGL project and building it doesn't cause any issues. So, it must be something in my project, but what...? :confused: The extra packages I've installed are Universal RP 7.1.8 and Input System 1.0.0 preview.5. Any thoughts where the problem is coming from? I'm going to try doing a full project reimport and see if that fixes the issue, fingers crossed.
     
  3. ElnuDev

    ElnuDev

    Joined:
    Sep 24, 2017
    Posts:
    298
    Phew! I full reimport fixed the issue. :D Now back to development!
     
  4. ElnuDev

    ElnuDev

    Joined:
    Sep 24, 2017
    Posts:
    298
    I'm getting the issue again, but now reimport isn't fixing the issue, unfortunately.
     
  5. marcowiprojects

    marcowiprojects

    Joined:
    Oct 2, 2014
    Posts:
    5
    ElnuDev could you solve the issue? i´m stucked in same error :(
     
  6. ElnuDev

    ElnuDev

    Joined:
    Sep 24, 2017
    Posts:
    298
    It was a while ago, so I don't really remember how I resolved it. Sorry I can't help more! Anyhow, good luck