Skip to main content

Exporting to Unity

Using Forest Tools and our Plugin for the Unity asset store, it is possible to export items scattered with Forest Pack to Unity for use in games and other real-time products. To export with Forest Tools and the Unity plugin, you must be using Forest Pack 7 or above and Unity 2018 or above.

The basic procedure for sending a scatter to a unity project involves 3 steps:

  1. Export Scatters using Forest Tools. This will create a .forest file that contains the distribution information and .fbx files that contain the source geometry.
  2. Install our Importer package in Unity
  3. Import the .forest and .fbx files to Unity

1 - Export Scatters

To export a scatter from 3DS Max:

  1. Select one or more Forest Object

  2. Open Forest Tools from the Utilities panel. You can also access this by clicking the button on the Forest toolbar.

  3. Click on Forest Exporter > Open

    .

  4. Change the Format to Unity

    .

  5. Click the elipsis button (...) to choose a save location

  6. Click Export. .forest and .fbx file will be created.

2 - Install Importer Packages in Unity

To import the assets exported in Step 1, you will need to install the plugin packages to your Unity project. To do this

Manual Installatation

  1. Download the plugin package from the iToo Software website
  2. Drag the package to Unity's asset browser.

Asset Store Installation

  1. Pending asset store approval

3 - Import Forest Objects to Unity

Once the packages are installed, you can import the Forest Objects. To do this:

  1. Drag and drop your .forest files along the .fbx files generated by the Forest Tools exporter, alternatively, you can right-click and select "Import New Assets"
  2. Your scatter will import and display with an FP logo in the asset browser. You can add this to the scene like any other object
ECS - Experimental Features

Unity's Data-Oriented Technology Stack (DOTS) allows programmers to improve performance when using multicore processors. This feature is still experimental and is in constant evolution. The iToo Unity plugin is only compatible and tested with specific versions of Unity 2018 and 2019. To use it you'll need to install several additional Packages. To do this:

  1. In Unity go to Windows -> Package Manager

  2. Enable Show Preview Packages.

  3. Find and install the following packages

    • For Unity 2018

      • Burst version 1.3.6 or above
      • Entities version 0.012-preview.24 or above
      • Hybrid Renderer version 0.01-preview.4
    • For Unity 2019

      • Burst version 1.3.0 or above
      • Entities version 0.11.1-preview.24 or above
      • Hybrid Renderer version 0.5.2
  4. Once the packages have compiled correctly you can open a test scene included in the iToo Package. It can be found in Assets > Scenes > SampleScene.