[SOLVED]looking at any script crashes Unity every time

I load a scene, and then double click on a script to look at, and Unity then crashes every single time.

Anyone else have this problem?

It happens when I do other things, not just looking at scripts.

I use Vista.

I know this will sound obvious, but did you move assets while Unity was running (in the Finder, I mean)?

I didn’t move anything at all. I loaded up various projects to test it out, and whenever I click on a script to look at it, it either immediately crashes with that error, or does so after a few seconds delay.

Perhaps just have a look in C:/Program Files/Unity/Tutorials/FPS_Tutorial_Completed/Assets to see if a Unity project is there. If so, try moving it to C:/Program Files/Unity/Tutorials/FPS_Tutorial_Completed. If you discover the folder has moved and you think Unity has done it automatically (without telling you), then it would be worth filing a bug report.

It is moving things around on its own.

I load any project at all. I then load the scene that came with it. No matter where it is located, I end up getting this error, and it crashes.

I can load up one scene fine, and then click to load up another scene from the menu, and it crashes. I can load it up, do nothing at all, and when I try to exit the program right away, it crashes, same error. I click on a script and try to read what it says, and then it crashes.

So no matter what I do, it seems to be trying to move a file.

I’m not sure if its Unity or just Vista that is doing this.

Does this same issue occur if you create your own project, save a scene file etc, close down Unity then re-open?

Oh and another thing, do you have any Virus protection software that may be blocking Unity from creating temporary files? this may be causing you problems… so if possible add Unity to its exceptions list

Just tried it.

I have no virus scanning software running.

Could it be the error message is caused by something else?

Create new project, create new scene, save scene, and then a crash.

Doesn’t happen every single time. That is odd.

I think Windows Explore with Vista tries to move things around. Not sure. I read something about where it list something being, isn’t really where it is at.

Do any of you have Windows Vista down there to test things out with? Is there any code in .net or whatever, which would cause it to try to move something? Any possible error that would cause that message to be displayed for something else?

I use Vista 64 Ultimate with Unity, and have used it on XP in the past as well. With Vista we had a lot of issues with Unity locking up when Aero was enabled. I’d recommend turning Aero off to begin with.

Also check your User Account Control (UAC) settings. It’s a system thats a good idea in theory, but is such a pain in the butt I turned it off after about ten minutes of installing Vista. It can interfere with Unity’s ability to do anything behind the scenes.

I’m sorry I can’t help further on the immediate matter though, I haven’t had this exact issue and don’t really know the best approach with it. I’ll ask the other guys from my studio (everyone is working on PC’s) and see if they have come across it.

if you have vista and UAC enabled, DO NOT USE THE PROGRAM FILES FOLDER FOR ANYTHING (but a lot of trouble)

reason is that any attempt to store something there etc will be virtualized.
In theory that should make no difference to the app, in reality, many apps just blow up.

Thanks for the help! I moved everything out of the Program Files directory, and everything seems fine now.