I randomly get this error forcing me to restart unity when using the beta:
Library\ScriptAssemblies\Assembly-CSharp.pdb: Copying the file failed: The process cannot access the file because it is being used by another process.
Unity 2021.2.15f1 on Windows