2 votes Vote

VS Pro Maps throw error with multiple channels

Unity 2019.3.13f1, MM 2.0.2
VS Pro Maps node throws exceptions when you try to use multiple channels of single texture.
The stack trace is as follows:
Thread failed: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at MapMagic.VegetationStudio.VSProMapsOut.Finalize (MapMagic.Products.TileData data, MapMagic.Products.StopToken stop) [0x000f9] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Compatibility\VegetationStudio\VSProMapsOut.cs:77
at MapMagic.Nodes.Graph.Finalize (MapMagic.Products.TileData data, MapMagic.Products.StopToken stop) [0x00088] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Nodes\Graph.cs:805
at MapMagic.Terrains.TerrainTile.Generate (MapMagic.Nodes.Graph graph, MapMagic.Terrains.TerrainTile tile, MapMagic.Terrains.TerrainTile+DetailLevel det, MapMagic.Products.StopToken stop) [0x0007c] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Terrains\TerrainTile.cs:665
at MapMagic.Terrains.TerrainTile+c__DisplayClass37_0.b__0 () [0x00000] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Terrains\TerrainTile.cs:574
at Den.Tools.Tasks.ThreadManager.TaskThreadAction (Den.Tools.Tasks.ThreadManager+Task task) [0x00002] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Tools\ThreadManager\ThreadManager.cs:125
UnityEngine.Debug:LogError(Object)
Den.Tools.Tasks.ThreadManager:TaskThreadAction(Task) (at Assets/3rdParty/MapMagic/Tools/ThreadManager/ThreadManager.cs:128)
System.Threading.ThreadHelper:ThreadStart()

Refeas, 18.05.2020, 18:53
Idea status: completed

Comments

Wraith, 04.06.2020, 23:15
Fixed for 2.0.4, should work now

Leave a comment