How can i fix ''All Compiler errors have to be fixed before you can enter playmode!''

In the console this is what it says

Unhandled Exception: System.UnauthorizedAccessException: Access to the path “C:\Users\Public\Documents\Unity Projects\New Unity Project 1\Temp\Assembly-CSharp-Editor.dll.mdb” is denied.

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in :0

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access) [0x00000] in :0

at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)

at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile (Guid guid) [0x00000] in :0

at Mono.CSharp.SymbolWriter+SymbolWriterImpl.WriteSymbolFile () [0x00000] in :0

at Mono.CSharp.SymbolWriter.WriteSymbolFile () [0x00000] in :0

at Mono.CSharp.CodeGen.Save (System.String name, Boolean saveDebugInfo, Mono.CSharp.Report Report) [0x00000] in :0

at Mono.CSharp.Driver.Compile () [0x00000] in :0

at Mono.CSharp.Driver.Main (System.String args) [0x00000] in :0

Thank you

‘‘All Compiler errors have to be fixed before you can enter playmode!’’

Means “Fix all of the errors in your scripts so the game will compile.”… It’s quite literal.

It looks like you may not have read/write access to the project folder.

Remove spaces from the name of path…means on the place of ‘Unity Projects’, write as ‘Unity_Projects’ & also in place of ‘New Unity Project 1’, write ‘New_Unity_Project1’…