【Unity】 Access to the path “XXXXXXTempAssembly-CSharp-firstpass.dll.mdb” is denied.

いつの頃からかUnityを使っていると定期的にこのエラーが出るように。

Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path “XXXXXXTempAssembly-CSharp-firstpass.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

フォーラムで、原因はマカフィーのリアルタイムスキャンとの書き込みを見つけ、
リアルタイムスキャンを切ったら出なくなった。

リアルタイムスキャンを切るのは怖いので、
ウィルスソフトを変えるか思案中。

【追記】
Nortonの体験版で検証中。
問題はなさそうなので移行するかな。
マカフィーのライセンスがまだ200日以上残っていて
勿体無いけど…(;-;)

Follow me!