- Home /
Unity project weird behaviour - Scenes not opening / script links not working
I opened up a project I had not opened for a couple of weeks today and after hitting play I just got a black screen.
There were no errors in the console so I had a look at the project.
A quick look revealed that all the links in the project have been lost. Links to scripts, sounds textures etc.
In the inspector is says Missing(Mono Script) or Missing(Shader) etc. When I try to relink them it changes from "missing" to "None". Even though the assets exist in the project they can not be relinked.
The editable variables in the scripts are remain visible even though the link to the script seems to be broken. But any GUI textures are missing their links and they also change to "none" if I try and relink them.
If I delete one of the script components and reattach it, it seems to reestablish a connection with the script ok but then I still can not link GUI textures...
Another quirk with the project is that I can not open scenes by double clicking them in the project window... I have to go to file > open scene for it to work.
Ahh! I have no idea what is happening here. I have multiple old versions of the project which still work but I will loose a couple of days work to go back to the most recent working version...
This is a really strange problem. Has anyone come across anything like this? any tips, advice for getting it working?
Thanks
Answer by Damien Sturdy · Oct 02, 2010 at 05:15 PM
I have just experienced this upgrading to Unity3.0 - Daftly enough, I did not keep a recent backup leading my current project to being unusable.
I'd be very interested in a way to auto-fix this, but something tells me that it doesnt know what is missing, but that something is missing, meaning we can't just go and fix this an easy way.
Would have been useful if the project stored the script filename even when the script was missing. Damn.
I hope I'm wrong though. :-)
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Edit child in parent list [Custom Inspector] 1 Answer
Variable in Inspector 1 Answer
Can I add a script into another one to manipulate it's variables in the inspector? 1 Answer
Handle modified variables being temporarily reset at runtime 1 Answer