Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

few questions about using a svn, help please...

Discussion in 'General Discussion' started by enzoravo, Aug 20, 2016.

  1. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    Hello, i'm working on a unity project, my current team is up to 5 people but only 3 of us have access to the project files, i'm thinking in create a svn in bitbucket, but i just have a few question about all of this:
    (please by kind, i don't know anything about svn, never have used it before)

    1.- my current project size is about 4.8 gb including the library folder, that will be my repo file size ? (i just saw that bitbucket offer 1 gb free plan with 2gb limit)

    2.- can we use the same file at the same moment ? for example if i'm editing the level1 scene making a c# script, can other team member work on the same scene creating level platforms ?

    thank you in advance for all your help.
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Don't include the library in the repo.

    Your repo size also includes commits. So I would consider not including large binary files. There isn't a huge value in having large binaries in the repo anyway.

    Yes. But it can cause problems. It's better to coordinate so people are working on different parts of the project.
     
  3. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    thank you for all your help BoredMormon
     
  4. JohnnyA

    JohnnyA

    Joined:
    Apr 9, 2010
    Posts:
    5,039
    VCS not SVN

    SVN is a specific version control system (subversion). In terms of free/open source most people use git now, although SVN is still a very serviceable choice for a small team. Still I'd recommend going with git as you will likely run in to it in the future. Might as well learn it now.

    BitBucket provides git repositories (although I think they do provide some paid legacy SVN options).

    To be honest you are probably better googling rather thank asking here. Its a well covered topic. Unity even has their own doco:

    https://unity3d.com/learn/tutorials/topics/cloud-build/creating-your-first-source-control-repository
     
    Kiwasi likes this.
  5. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,521
    Make sure you use a private repository, not a public one, or the whole Internet will be able to download your project.
     
    Kiwasi likes this.
  6. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    thank your for your advices JohnnyA and TonyLi.

    how about to work on a scene at the same time by two team members ? this can be done with unity3D personal edition ? what i need to do ? i need to create a server in my computer ?
     
  7. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,521
    Not easily with the base Unity editor. Some teams buy licenses for Advanced Multi-Scene to make it easier to collaborate on scenes. Otherwise only one person at a time should edit a scene.

    If you use prefabs everywhere, you don't have to edit the scene as much, so it's easier to collaborate.

    If one person is editing the scene, another person can be changing prefabs in the project at the same time. And a third person can be editing scripts at the same time, too.

    Usually the server is hosted somewhere else on the Internet. I use Visual Studio Team Services because it's free for teams of up to 5 members with unlimited repository sizes. There are other services such as BitBucket, CloudForge, and others. Just make sure you create a private repository.
     
    Last edited: Aug 22, 2016
  8. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    thank you for all your help TonyLi.