Unity3d Project Version Management scheme

Source: Internet
Author: User

From: http://blog.dou.li/unity3d%E5%B7%A5%E7%A8%8B%E7%89%88%E6%9C%AC%E7%AE%A1%E7%90%86%E6%96%B9%E6%A1%88.html

When unity is developed for multi-person collaboration, it must involve the release management of resources, code, and configuration. Here's how to do unity Engineering version Management with SVN, Git, or another version management system.

To create a new unity project, the directory structure is basically like this:

    • Assets, Library, projectsettings directory
    • The runtime also makes more out of the temp directory
    • If you open it with monodevelop or VS, it will generate a heap of engineering files.

In the end it's about this:

There are many binaries in the unity project that frequently cause conflicts, and files in the library directory change every time the Unity editor opens, often in conflict.

To ensure that fewer conflicts need to be done:

    1. The minimum amount of files that will be required to create a unity project refers to the repository
    2. Reduce the existence of files by two
Import the Unity project into the repository and ensure the least conflicting methods

Modify the default version management method for unity projects, Edit->project settings->editor open the Settings panel

, version control is set to the model meta files, which indicates that the resource version is recorded as a meta file.

The default is disabled, which can cause problems in the absence of the library directory (the library will not mention the repository later).

Text scene file, Edit->project settings->editor open the Settings panel

Setting the mode of asset serialization is Force Text, which means that the unity file is saved in plain text form.

Both mixed and force binaries are binary and are not conducive to versioning.

    1. Upload assets, projectsettings directories to SVN, git, or other repository

    2. When someone checkout these two catalogs, the first time you open Project in Unity Editor ... The library directory is automatically generated, so the library does not need to be included in version management

(EXT) Unity3d Project version management scheme

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.