Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Unity 2019.3 WebGL Build Error

When I try to build my project to webgl my console gives me 4 errors:

Plz help

// First Error

Failed running C:\Program Files\Unity 2019.3.7f1\Editor\Data\il2cpp\build/deploy/net471/UnityLinker.exe -out=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/tempStrip -x=C:/Users/Soham/AppData/Local/Temp/tmp6409ecf0.tmp -x=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/TypesInScenes.xml -d=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed --include-unity-root-assembly=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll --include-unity-root-assembly=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/Unity.RenderPipelines.Core.Runtime.dll --include-unity-root-assembly=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/Unity.RenderPipelines.Universal.Runtime.dll --include-unity-root-assembly=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll --include-unity-root-assembly=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/Unity.TextMeshPro.dll --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed --rule-set=Conservative --editor-data-file=C:/Users/Soham/Documents/Prototype/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json --platform=WebGL --enable-engine-module-stripping --engine-modules-asset-file="C:/Program Files/Unity 2019.3.7f1/Editor/Data/PlaybackEngines/WebGLSupport/Whitelists/../modules.asset"


stdout:

stderr:


Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

  at Unity.Linker.UnityDriver..ctor(String[] args)

  at Unity.Linker.Program.Main(String[] args)


UnityEngine.Debug:LogError(Object)

UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase)

UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1)

UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String)

UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String, String&, String&, IEnumerable`1, UnityLinkerRunInformation)

UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(UnityLinkerRunInformation)

UnityEditorInternal.AssemblyStripper:StripAssemblies(String, BaseUnityLinkerPlatformProvider, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel)

UnityEditorInternal.IL2CPPBuilder:Run()

UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

// Second Error

Exception: C:\Program Files\Unity 2019.3.7f1\Editor\Data\il2cpp\build/deploy/net471/UnityLinker.exe did not run properly!

UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable`1[T] args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String outputFolder, System.String& output, System.String& error, System.Collections.Generic.IEnumerable`1[T] linkXmlFiles, UnityEditorInternal.UnityLinkerRunInformation runInformation) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (UnityEditorInternal.UnityLinkerRunInformation runInformation) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.BaseUnityLinkerPlatformProvider unityLinkerPlatformProvider, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.IL2CPPBuilder.Run () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEditor.WebGL.WebGlBuildPostprocessor.CompileBuild (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:387)

UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:929)

UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <78f1ad0f25c84e3ca853e639f50d95f5>: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 <78f1ad0f25c84e3ca853e639f50d95f5>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

// Third Error

Build completed with a result of 'Failed' in 144 seconds (143677 ms)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

// Forth Error

UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors

 at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <78f1ad0f25c84e3ca853e639f50d95f5>:0 

 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <78f1ad0f25c84e3ca853e639f50d95f5>:0 

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Sign In or Register to comment.