Unity won't build my game, but everything seems ok

Hey guys I can’t build Unity 2019.4.11f1 game. It gives error

Build completed with a result of ‘Failed’ in 14 seconds (14154 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <007193b7fa9c4ad1be5b26df6a654213>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <007193b7fa9c4ad1be5b26df6a654213>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

As I have read from error it shows bad directory or something, I have tried several locations like Desktop, temp folder and drives. I’m doing Windows build .NET 4.x for more info ask.

Thanks

If you think it is build directory, can you provide an example path which fails? Have you ensured enough disk space? Do you have any non-ascii characters in the build path? (non-ascii are supposed to work, but Unity keeps getting regressions in this area)

C:\Users\davil\OneDrive\Desktop<my game name>
F:\Games\testBuild
C:\Users\davil\AppData\Local\Temp\testBuild
C:\ drive has low space, but F:\ have 27 GB so what’s the problem?

Do you have any referecing to the Unity editor?

Sometimes, shows up weird not understandable errors, like on saving, script refresh, importing

In my own scripts? No. No using UnityEditor, no custom build settings, no #if… Only assets have these