I am in the brackeys course ” how to made a 2d platformer” part 8a and when i made the weapon script this error came up :
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path “C:\Users\Mountain\Desktop\Unity stuff\2D platformer\Temp\Assembly-CSharp.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 <filename unknown>:0



