at first, the game runs fine and playmode works correctly. when I click build (WebGL) the project starts building but a few minutes in it stops and throws those error (in the screenshot) out and suddenly the game won't enter playmode and I can't build anymore. what might be causing this?
it throw this error:
Error building Player because scripts have compile errors in the editor
screenshot
EDIT: trying again:
ERROR 1: [19:33:41] (empty)
ERROR 2: [19:33:41] Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
ERROR 3: [19:33:41] (empty)
ERROR 4: [19:33:56] Error building Player because scripts have compile errors in the editor
ERROR 5: [19:33:56] Build completed with a result of 'Failed' in 4 seconds (3615 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
ERROR 6: [19:33:56] UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player because scripts have compile errors in the editor
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <2f1c602eae0d45c293fff3e3aef759fa>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <2f1c602eae0d45c293fff3e3aef759fa>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…