Why this happen? Acces denied.

Hi, so I’m relatively new to Unity, and the thing is that by working on projects I’m getting this quite often:

36976-accesdenied.png

P.D.: That “Acceso denegado.” means “Acces denied.”

This happen randomly when I put save on a script in Monodevelop, and I understand that it tries to move a file but it can’t.

What I did after searching on this is put my projects folders at Desktop, cause I saw that when I put it on Unity Projects on My documents is that I dont have acces at those archives (I mean in the Security tab in Properties of that .dll it says that I dont have permission or something like that). But this (at a minor basis however) still happens with the Project on Desktop.

Anyone with more experience on the engine could give me a hint on this?, cause I frankly have no idea why this happens, and even more why this happen randomly, sometimes I save scripts and this dosn’t happen, and sometimes does… S:

Anyway thanks in advance.

It’s probably a security issue raised by Windows, you’ll probably need to run Unity as administrator (right click on Unity)

I have the same strange messages. Dont know how to avoid this, but I’ve noticed some features:

  • It happens more often if I change scripts when MonoDevelp is attached to process (during debug).
  • It happens less often if I close Unity and MonoDevelop before commit changes to GIT repository.
  • It stops for some days/weeks or even more if I reimport all project. But not forever.
  • It didnt corrupt anything
  • It really annoying :slight_smile:

I’ve had problems with McAfee antivirus software blocking the Temp folder in Unity. Maybe it’s you antivirus software.