This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Content Migration

You can upgrade content of your project to UNIGINE 2.11 in the automatic or manual mode.

Warning
You cannot migrate the project that contains assets with a version higher than the project version.

Automatic Upgrade#

Automatic upgrade of the project's content can be performed via UNIGINE SDK Browser.

Notice
By default, the automatic mode is used to upgrade only binary executable files and content stored in the project's data folder. If you have content stored outside the data folder or in the additional data folders, you will have to upgrade it manually.

As a result, the binary executable and configuration files, meshes, terrains, worlds, nodes, splines, materials, properties, tracks, settings files will be upgraded to new formats (if any). The <unigine_project>/migration.log.html log file will be opened in the web browser. However, you can uncheck Migrate Content during automatic upgrading and perform content upgrading manually. In this case, only binary executable files will be upgraded.

Notice
The migration results depend on the version of UNIGINE SDK, from which you are going to migrate.

Manual Upgrade#

This mode should be used to upgrade content stored outside the project's data folder (such as mount points):

To upgrade the project's content in the manual mode, do the following:

  1. Put the binary executable <UnigineSDK>/bin/usc_x64.exe to the <UnigineSDK>/utils/upgrade folder that contains the upgrade script.
    Notice
    Use usc_x64.exe from the SDK version you are migrating to.
  2. In the command prompt, run the upgrade.usc with the required options:
    Shell commands
    usc_x64.exe upgrade.usc path/to/additional_content_1 path/to/additional_content_2 ...
    If you have unchecked Migrate Content during automatic upgrading, add the path to the project's data folder to the list of arguments passed to the upgrade script. For example:
    Shell commands
    usc_x64.exe upgrade.usc <unigine_project>/data path/to/additional_content_1 path/to/additional_content_2 ...
    Here:
    • path/to/additional_content_* - paths to folders with content stored outside the data folder.
As a result, you will get your meshes, terrains, worlds, nodes, splines, materials, properties, tracks, configuration and settings files upgraded.

Notice
The migration results depend on the version of UNIGINE SDK, from which you are going to migrate.

As soon as migration is completed, run the Editor to have the project assets "indexed".

Changed Geometry Import Settings#

Default geometry import settings have been changed — now meter is the default unit in UNIGINE. Automatic content migration is provided. According to our internal statistics, 1% of migrated content requires additional scale correction. So, we strongly recommend you to make sure that after migration all your content has a proper scale. If you have a feeling that after migration your model has become bigger or smaller (e.g., you can't see it in the scene), simply adjust the Scale multiplier value in Asset Import parameters.

For .fbx models that contained transformations, the transformations are not scaled automatically, so you can have a misaligned node in the scene. To fix that, you can do either of the following:

  • Reimport the model with a proper scaling and replace the misaligned model in scene.
  • Use the .node asset inside the .fbx model to place the model in the scene as a Node Reference. In this case, any further changes in the .fbx asset, including transformations, will be automatically applied.

Physics Intersection#

New option was introduced for detecting intersections between physical objects with bodies and collider shapes or ray intersections with collider geometry: Physics Intersection option with its own Physics Intersection Mask. Its settings are copied from the Intersection option and the Intersection Mask of the surface in the Editor. Therefore, if you set Intersection parameters via code, you have to copy them manually.

Common Parameters Changed#

The set of Common Parameters has changed due to optimizations. Now the parameters available in this section are disabled by default. Check and enable manually the ones that you need. If you need the result that previously was achieved by enabling the removed parameters, follow the approach applied now.

Triggers, Clutter, and Grass Interation options from now on shall be disabled by default. So, after migration you'll have to manually enable these options only for the objects that really require them.

Removed parameters:

  • Collider object — now this parameter is enabled automatically for meshes, surfaces that have Collision enabled, and bodies assigned to objects.
  • Updated Last — now this parameter is enabled automatically for NodeExtern, ObjectExtern, WorldExtern, and WorldExpression.
  • Visibility by Sectors/Portalssectors and portals are removed.

Sectors and Portals Removed#

Sectors and portals have been removed. If you used sectors and portals in your project, replace them with Occluders. In case you need to create a room with a door and cut out everything beyond its walls, place occluders along the room’s perimeter. Make sure such occluder-walls have zero-width to gain more performance.

Node Pivot Removed#

Node Pivot has been removed as redundant, because transformation of a group of nodes can be controlled by simply building their hierarchy placing dependent ones as children of the one considered the main one. Every Node Pivot found in your scene shall be migrated to a Node Dummy.

World Layer, World Cluster, and World Clutter Deprecated#

World Layer, World Cluster,and World Clutter are deprecated and will be removed in the next release. We recommend to replace World Layers with Node Layers, and World Clusters — with Mesh Clutters and Mesh Clusters.

Particle System Improved#

Particle Systems have significantly been improved. For the translucency effect it is now possible to set translucency radius to imitate different smoke density. Shadows cast by particles are now translucent, so the denser smoke areas will produce darker shadows than the ones having a low density. Normal mapping support providing additional volume and more details was added, as well.

Collisions of spawned particles with physical shapes and bodies or static collider surfaces are now set using Physics Intersections.

The particles_base material is now implemented in ULON-format with a new more convenient UI, some parameters renamed, and default values and textures changed.

Automatic migration covers most of improvements, however, to make your particle systems look true-to-life, check and adjust settings manually, if necessary.

Last update: 2020-04-10
Build: ()