Help using Terrain Toolkit

I recently downloaded the terrain toolkit (found here) and am trying to use it to apply an underwater rock texture for under the sea in my scene, a wet sand texture around the waterline, a dry sand texture for a while above the waterline, a grass texture for the medium height regions, and a rocky texture for the mountains. I’ve left all the settings on default to eliminate as much human error as i could. Every time i try to apply my textures, though, I get the following exception: An error occurred: System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[System.Single].get_Item (Int32 index) [0x00000] in :0
at TerrainToolkit.textureTerrain (.TextureProgressDelegate textureProgressDelegate) [0x0036c] in C:\Users\Dagon Excelstraun\Documents\New Unity Project 1\Assets\TerrainToolkit\TerrainToolkit.cs:1810
UnityEngine.Debug:LogError(Object)
TerrainToolkit:textureTerrain(TextureProgressDelegate) (at Assets/TerrainToolkit/TerrainToolkit.cs:1847)
TerrainToolkitEditor:OnInspectorGUI() (at Assets/TerrainToolkit/Editor/TerrainToolkitEditor.cs:1144)
UnityEditor.DockArea:OnGUI()

Does anyone know how to fix this?

bump

bump

Why arent you contacting them directly?? This is not their support site.

This is a quick possible fix for anyone running into the same issue - since this error isn’t addressed anywhere else that I’m aware of.

Chances are that you’ve used Terrain Toolkit, got everything looking right, then added another texture through the normal terrain interface.

Try removing the extra texture(s) you added, then try pressing “Apply procedural texture” again in Terrain Toolkit.

Hopefully this fixes your issue :slight_smile: