Describe the bug
When converting a mesh-terrain to a Unity terrain with Tools/Mesh to Terrain Converter, an error occurred: Exception: Float array size wrong (layers should be 2).
To Reproduce
Open Tools/Mesh to Terrain Converter
Drag the mesh-terrain object (with 2 splat textures on it) to the window.
Click begin converting button, see the error
Exception: Float array size wrong (layers should be 2)
at UnityEngine.TerrainData.SetAlphamaps (Int32 x, Int32 y, System.Single[,,] map) [0x00032] in C:\buildslave\unity\build\artifacts\generated\common\modules\Terrain\TerrainDataBindings.gen.cs:656
Expected behavior
No error happens and a terrain is correctly created.
Environment
OS: Win10
Unity version: 5.6.6f1/2018.3.0f2
MTE Version: 3.3.3
Your solution or workaround
Add additional splat-textures until there are 4 or 5 splat textures.
Describe the bug
When converting a mesh-terrain to a Unity terrain with Tools/Mesh to Terrain Converter, an error occurred: Exception: Float array size wrong (layers should be 2).
To Reproduce
Expected behavior
No error happens and a terrain is correctly created.
Environment
Your solution or workaround
Add additional splat-textures until there are 4 or 5 splat textures.