- Home /
Exporting / Commiting a Prefab?
I'm working on a project with a friend of mine and we are using SVN to commit our scripts and keep a track on the project. Now i've tried to commit a prefab, but when my friend tries to import, it looses all the connections with the scripts.
Is it possible to commit the prefab and make it keep the connection with the scripts?
Answer by burgunfaust · Apr 27, 2011 at 01:53 AM
I think you need to export it as a package, but that becomes a problem with svn. Not packaging it can have consequences, like you are experiencing, because everything is connected inside unity. I think that you may encounter this problem continually.
too bad... Would the asset server better handle these?
I think the asset server is more geared for multiple work stations at the same location, but I am not sure. I haven't used it.
Answer by AKAssassin · Apr 27, 2011 at 03:44 PM
Are you using PRO Unity because if not you will have a bunch of problems when attempting to set up source control. Also if you do have Unity PRO there are very specific setup instructions you need to follow when setting up the SVN for the first time.
You will lose the connections with the script in Unity free because of the way the metadata is stored is not easy for SVN to handle and you can't use source control very easily. Even if you tried to use the assetserver you would still need PRO.
http://unity3d.com/support/documentation/Manual/ExternalVersionControlSystemSupport.html