I get the below error when I run Unity 2.5 on Vista 64bit. I have made the DEP change and still get it. It happens on the Island Demo and if I create a blank project new, it happens as well. If I keep clicking “Try again” like 100 times it eventually will work but the next thing I do it pops up again. If I choose quit it throws an exception and I get the bug report screen (which I’ve done) and a “Unity stopped working” box.
Posting just in case anyone has this issue and finds this post via a search on the forums.
This issue was caused by Kaspersky Anti-Virus. Disabling real time protection resolved it.
Its always a good idea to disable antivirus-software (and sometimes even UAC) when developing on a windows machine.
It can make a huge difference in compile-time on some machine. Since some antivirusses like to scan everything they discover and thay may even lead to windows tinking that the extra delay is just a system crash.
If you’re unwilling to disable that part of your virus protection, you can also exclude items on an aplication specific basis. In Kaspersky (2009 at least), under application filtering, you can edit the entry for Unity. Under Exclusions check: Do not scan opened files and Do not monitor application activity. As you’re unlikely to use Unity to create a virus to infect yourself, you should be ok. Since everything other than Unity created content will still get scanned.
Not really
Having problem if your protection is running means that the protection is crap (I know, its a harsh word, but I’m so sick of helping people solving their self created problems because they trust idiots in stores and invest in Symantec PermaSystemTrasher 20xx, McApe to climb the trees, and naturally the common free troublemakers AVG Free and (YouAreAll)Avira(s) and the newest entry to the list of brainless security troublemakers: Trend Micro, blocking exe download and install without showing warnings and reasons)
I’ve used Sophos and Nod32 Internet Security for years, not a single problem. Neither with install nor usage.
Nod even has an exclude list, to which I would recommend putting Unity if you have a single core / dualcore machine, as Unity writes a lot of files all day long, which if put through the scanner all the time, will raise the time for the play button for example