Where are the links between game objects and scripts kept?

I am trying to create a clean environment for on-boarding a new employee such that she can just check out the code and run. BUT I don’t want to have to put build files that are just regenerated every build into the source repository. I have included all the Assets, all the terrains, and Scenes. But when I check out and start Unity, none of the game objects are linked to their scripts. Every object says “Unknown Monobehavior” for every script.

What am I missing and where do I find it please? My new employee will thank you too because having to link these manually will be a huge pain. Also it would be cool if there were some kind of directory tree in the manual that said “these are the files to put under source control and these are the files to ignore”. That would be totally awesome!

maybe you should save the environment as a unity package to be reloaded in a new empty project

you need to search on here for the many questions about the AssetServer, and secondly about GIT and version control issues with Unity. (with game engines like unity you can't just "these text files" - it's harder than that :O )

Hi! I have the same curiosity, where are these links kept, because we use SVN in the developing process and sometimes we have problems. Did you find the answer? Please share. Thanks.

http://docs.unity3d.com/Documentation/Manual/ExternalVersionControlSystemSupport.html

1 Answer

1

I solved the problem by checking in the meta files along with the files. And yes, it was that link that showed me what I needed to know. Still not thrilled (I so want a common directory I can share between Unity projects) but it works.