This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Subversion

Subversion (SVN) is one of the most frequently used version control systems for content-heavy UNIGINE-based projects. VCSIntegration Plugin provides Subversion integration, which allows tracking changes in the project and processing them.

All tracked actions go to SVN Commit via the SVN client, where they are assigned the corresponding status. It helps users avoid manual work.

Notice
Within this article, we will use TortoiseSVN as the client for Subversion.

Setting Up Environment#

For VCSIntegration Plugin to operate with Subversion correctly, you should prepare the environment:

  1. Make sure the Subversion client (in our case, TortoiseSVN) is installed with the command-line tools. If the plugin can't locate a Subversion executable (svn.exe is unavailable), it will provide you with the error message. The same will be displayed in the console. In this case, modify the configuration of your SVN client. For TortoiseSVN, follow the instructions:

    1. Run the SVN installer and click Modify.
    2. Click on the command line client tools icon and follow the installation instructions.

    When completed, proceed with setting up the environment.

  2. Add the path to the svn.exe file to the PATH environment variable. You can do that as follows:

    1. Type Advanced System Settings in the search bar next to the Start button and click on the matching option.

    2. In the window that opens, click Environment Variables...

    3. Select the system variable PATH from the list and click Edit...

    4. In the window that opens, click New, add the path, and click OK. For TortoiseSVN, it will be C:\Program Files\TortoiseSVN\bin by default.

Limitations#

In addition to general plugin limitations, there are also specific constraints for tracking changes in projects managed by SVN:

  • The plugin doesn't process Unicode characters like: "لا أدري不知道боль". Therefore, only use English characters, numbers or space in file and directory names. Using other characters in the file and folder names may cause changing the recursive status to non-versioned. However, this restriction doesn't apply to the file content.
  • The plugin doesn't use the TortoiseSVN Ignore list - such files still are tracked. Thus be aware that if such files and the directories containing them are changed, they will be added to the SVN Commit list. For example, when a texture is imported to a directory added to the Ignore list, the plugin will process it and mark it with the added status instead of ignoring that texture and mark it with the non-versioned status. Make sure to exclude such files from the commit!

Plugin Operation#

Adding New Asset#

The user imports a new asset humanoid_run_forward.fbx to the directory. The new FBX asset, its metadata, and all runtime files with their metafiles will be displayed in the SVN Commit. All files will have the added status.

Renaming Asset#

The user renames an asset from PNG.png to ddd.png. The texture asset and its metadata with the old name will show up as deleted in SVN Commit, the same files with the new name will be displayed as added(+).

Moving Asset#

The user moves a non-native asset import_materials.fbx from one directory to another. The asset and its metadata will be displayed in SVN Commit: the files from the old directory will have the deleted status, and those added to the new directory will be marked as added(+).

Deleting Asset#

The user deletes a non-native asset humanoid_run_forward.fbx. The asset, its metadata, and all runtime files with their metadata will have the deleted status within SVN Commit.

Changing Asset Import Parameters#

When an asset is re-imported with new parameters, its runtime files and metadata will have the modified status in SVN Commit. The asset itself remains unchanged.

Last update: 2024-06-24
Build: ()