- Home /
Unity & subversion (without Unity Pro)
hi, what options do have for putting my project under svn version control, OTHER than pro version and asset server? what do i have to take care of? which files should go into svn? thanks, flexrails
Answer by runevision · Mar 23, 2010 at 02:25 PM
This question has already been asked multiple times. See this:
Answer by davebuchhofer · Dec 07, 2009 at 10:32 PM
Here's the documentation for the SVN that works through what/how to ignore things
http://unity3d.com/support/documentation/Manual/ExternalVersionControlSystemSupport.html
That documentation is just for Pro, he said "other than pro version". Flexrails, I have found that almost everything in your project directory is needed. You can exclude the Library/ScriptAssemblies directory as that is regenerated every time code is recompiled, but all the metadata files and such you are stuck with. I would suggest looking through some of the other threads on strategies for dealing with VCS + Unity, it is a pain.
http://forum.unity3d.com/viewtopic.php?t=43119 http://answers.unity3d.com/questions/1235/version-control-workflow
Answer by Ashkan_gc · Sep 11, 2012 at 01:23 PM
After 3.5 SVN is supported in unity free as well. You should just go to Edit/Project Settings/Editor window and then enable meta files for version control. If you have pro you can choose text based serialization in this window as well. Text serialization allows merging of scene and prefab files.
If you use windows and tortoiseSVN on windows, we have a small product on asset store to use SVN in unity easier. Click here to see the package.
You just need to put Assets and Project settings folders on version control. Don't put library or visual studio/mono develop solution files under version control. If you are using binaries like dlls and so's for android or ... don't forget to remove them from ignore list if you want them to be moved between users as a part of version control.
Answer by JustGoodDesign · Nov 07, 2013 at 11:51 PM
You might appreciate Good SVN by Just Good Design on the Unity3D Asset Store
When we first started out using SVN we ran into multiple conflicts every time the project changed. For that reason, Good SVN broke down the commit functions into 3 main categories - all at the push of a button.
Update/Commit Assets for code you’re working on or any file in the Assets directory.
Update/Commit Project Settings for things like input settings, publishing settings and so on
Update/Commit Files for items you’ve selected in Unity3D’s Project window (or right-click and item)
Because these are the things you’ll use on a daily basis there was no need to commit the entire directory every time you make a change. If that is something you need, we also added a SVN > External Folder > {Command}
Like most of these Windows solutions Good SVN uses TortoiseSVN. Good SVN can also be used on the Mac with TortoiseSVN and CrossOver. See this video for more info.
[2]: http://www.justgooddesign.com/
[5]: http://www.justgooddesign.com/products/unity3d/good-svn/
[7]: http://www.justgooddesign.com/products/unity3d/good-svn/
[9]: http://www.justgooddesign.com/products/unity3d/good-svn/
Your answer
Follow this Question
Related Questions
SmartMerge with TortoiseSVN 1 Answer
asset server discissions? 2 Answers
Beast Lightmapping conflict with svn -2 Answers
Meta files not getting updated? 1 Answer
Unity iPhone and SVN 1 Answer