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

Network Storage and Unity

Discussion in 'General Discussion' started by james2238, Oct 19, 2016.

  1. james2238

    james2238

    Joined:
    Apr 24, 2016
    Posts:
    3
    I have an SFTP server that I set to use with various projects, like photoshop and other programs. I have the it mapped to a drive in windows with NetDrive2, it works fine when I load a .psd file, but when I load a Unity project I get a "Moving file failed" error. So, what do you do for a network storage solution that works well with Unity? I'm also curious to how you manage a team with a project on a network drive. Any advice on the best method for working with Unity through network storage would be appreciated.

    Capture.PNG
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Most version control systems work reasonably well with Unity.

    It is worth noting that you should only be syncing the assets and project settings folder. The library and temp folder should not be synced. This might be the cause of your problems.
     
    angrypenguin likes this.
  3. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,495
    Hmm... that sounds to me as if you're thinking of mapping the drive for everyone so there's shared direct access? If so, that's asking for trouble. Like @BoredMormon says, use something like a version control system. In short and simplified terms, this means everyone has a local copy of the project, and can synchronize changes to and from a central master copy.
     
  4. james2238

    james2238

    Joined:
    Apr 24, 2016
    Posts:
    3
    Ok, so what exactly should I do? Is there a tutorial that would show me how to create a network drive and set up a version control system? And what exactly do you do for storing and working on Unity projects?
     
  5. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    I use a git as my version control system. I use bitbucket for hosting. I use Source Tree as the client. For non coders I suggest the GitHub Desktop client, as its slightly simpler to use.

    There are only a couple of Unity specific tips for version control
    • Change serialisation to Force Text
    • Don't commit the library and temp folders. And any build folders.
    Do a quick search on the forums for sharing projects, and you should find plenty of info about version control. While I use git, there are plenty of devs that use Mercurial or SVN instead.
     
    theANMATOR2b, Ryiah and angrypenguin like this.
  6. james2238

    james2238

    Joined:
    Apr 24, 2016
    Posts:
    3
    Ok, thank you.