x


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?

more ▼

asked Apr 26 '11 at 08:18 PM

gilson gravatar image

gilson
48 6 6 9

(comments are locked)
10|3000 characters needed characters left

2 answers: sort newest

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

more ▼

answered Apr 27 '11 at 03:44 PM

AKAssassin gravatar image

AKAssassin
303 1 2 9

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Apr 27 '11 at 01:53 AM

burgunfaust gravatar image

burgunfaust
260 5 7 17

too bad... Would the asset server better handle these?

Apr 27 '11 at 05:05 AM Jean Fabre

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.

Apr 27 '11 at 01:00 PM burgunfaust
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1253
x349
x50

asked: Apr 26 '11 at 08:18 PM

Seen: 959 times

Last Updated: Apr 26 '11 at 08:18 PM