Search Unity

Bug WebGL will not build same 4 errors no matter what

Discussion in 'Editor & General Support' started by dmray, Aug 16, 2022.

  1. dmray

    dmray

    Joined:
    Jan 26, 2019
    Posts:
    2
    I've uninstalled and reinstalled Unity. Then I uninstalled it and installed the previous stable version. I created a project that consists of one 2d sprite only (no code) and even that won't build. Same errors every time no matter what:

    First one:

    Building D:\User1234\Documents\2D Essentials\Library\Bee\artifacts\WebGL\il2cppOutput\UnityClassRegistration.cpp failed with output:
    '"D:/Unity/2021.3.8f1/Editor/Data/MonoBleedingEdge/bin/mono"' is not recognized as an internal or external command,
    operable program or batch file.
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

    Second one:
    BuildFailedException: Incremental Player build failed!
    UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:158)
    UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, 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 <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

    Third one:

    Build completed with a result of 'Failed' in 13 seconds (13097 ms)
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

    Fourth one:

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

    Please help. I'm trying to get through the tutorials but I've now been stopped for days because I can't proceed through building and running anything. There was a recent Windows 10 update so maybe that has something to do with it?