Purchase On The Asset Store | Current Verision: 2.5.0 | Discord Server
Support
Use Website Contact Form: https://deepspacelabs.net/html/other/contact.php
Or post here/use discord (link above)
Important
The latest version of Unity this product has been tested on is 2021.1, even though the Asset Store page says you can use it with 2018.4.26 or higher. I can only guarantee the package works with versions between 2018.4.26 and 2021.1. If you are using a version more recent than 2021.1, please email me before purchasing to confirm there are no issues!
2.4.0+ Update Note
The Gdal implementation used to expand GeoTIFF support requires .Net 4. As such, users of Unity editor version 2017.1 and above must switch their scripting runtime version to .Net 4.x (it may be called .Net 4.6 on some versions of Unity), which can be done via Edit → Project Settings → Player. If you cannot do this, please email me with your invoice number and Unity version, and I will send you a version of the package that does not include the Gdal implementation.
Support Note
To speed up the support process, please email me your invoice number for your purchase of the Terrain Importer and which version of Unity you are using (the full version, e.g. 2019.2.12f1), in addition to a detailed description of the issue, any exceptions or errors thrown, and screenshots if you feel it would better display the issue. Thanks!
Known Issues
- When the Export To method is set to “Existing Terrain” you may get a Null Reference Exception when the “Base Terrain Settings” tab is expanded (fixed in 2.4.0)
- Not all DEM/Geotiff files are supported, though update 2.4.0 has greatly expanded the range of supported files. However, it’s best if you email me your .tif file before purchasing the package so I can test it!
- If you have a script outside of the TerrainImporter package that utilizes System.Threading, you’ll see an error. To rectify this I have removed the System.Threading.dll file in all versions above 2.3, though you may need to manually remove the .dll file yourself it it has already been downloaded (and you are using .Net 4.x scripting runtime version).
- An exception is thrown when viewing the inspector for importing splatmaps. (Fixed in 2.3.1)
- An exception is thrown when trying to import a full coverage texture (Fixed in 2.3.1)
- You may see a Missing Script error when viewing your TerrainImporter asset on Unity 2017.1 or later versions, or you may not have the option to create a new TerrainImporter file. These versions require your projects Scripting Runtime Version (Project Settings → Player) to be set to .Net 4.x Equivalent (or .Net 4.6).
Video Previews
Single Terrain Import
Tile Set Terrain Import
This tool allows you to easily import heightmaps and splat maps into Unity and generate beautiful/spacious terrain. Though the files can come from anywhere, the tool has been tested and designed primarily with World Machine in mind. Features include:
- Import Tile Sets of (theoretically) any size. By creating terrain prefabs out of your import files rather than generating the terrains in the scene (though both options are available, and can be used simultaneously), Unity’s 3.5 GB memory limitation can be circumvented.
- Import one more more RGBA Splat Maps. The import settings for the splats are automatically configured prior to being applied to the generated Terrain (note, any image format that can be converted by Unity to a Texture2D should be supported).
- Import Height Maps under a variety of supported extensions (.raw, .r16, .r32, .ter, .tif/.tiff). Additional height map extensions may be added in the future. Additionally, the tool allows for the use of custom components which can be created to add support for other formats yourself. Note that GeoTiff/DEM files are very complex and have many varieties, so proper importing cannot be guaranteed. Please email me a sample file before purchase so I can confirm it can be imported properly.
- Scale your imported heightmap either up or down, or ditch scaling in favor of importing sub regions of your heightmap files instead. Using either of these two methods, you can make use of non power of 2 + 1 heightmaps and/or heightmaps larger than Unity can support!
- Import Settings are stored as Scriptable Object Assets, which allows for quick and easy re-importation. You can also create a base file which stores common import settings (such as the location where you import files are loaded from on your machine), and then duplicate this file to generate new import settings that require less configuration.
- Generate Prefabs for your terrains automatically.
- Configure the Terrain Settings for all imported terrains. This is incredibly useful when importing tile sets (imagine having to change the Pixel Error/Detail Distance/Tree Distance/etc. for every terrain in the tile set post import!).
- Additional script included which allows you to easily set the terrain neighbors of a group of terrain when entering Play Mode (very handy for tile sets).
- Source code included.
Please note that this tool is primarily geared to those wishing to import/setup a large quantity of terrains, such as tile sets from World Machine. For such users, this tool will be invaluable, but for others needing to import a height map every now and again, it will be less beneficial (but still possibly worth the price tag).
Please let me know if you have any questions!