0 votes Vote

Build crash issue using Microsplat with SetComponent enabled and ApplyType: Both

Build crashes if you are using Microsplat with SetComponent enabled and ApplyType: Both.

In editor it is fine.

Exception from log:

Exception: Routine error: System.NullReferenceException: Object reference not set to an instance of an object
at JBooth.MicroSplat.MicroSplatTerrain.Sync () [0x000b8] in :0
at MapMagic.Nodes.MatrixGenerators.MicroSplatOutput200+ApplySplatsData.Apply (UnityEngine.Terrain terrain) [0x00063] in :0
at MapMagic.Terrains.TerrainTile.ApplyNow (MapMagic.Terrains.TerrainTile+DetailLevel det, MapMagic.Products.StopToken stop) [0x00022] in :0
at MapMagic.Terrains.TerrainTile+c__DisplayClass51_0.b__0 () [0x00000] in :0
at Den.Tools.Tasks.CoroutineManager.Update () [0x000e2] in :0
at Den.Tools.Tasks.CoroutineManager.Update () [0x00103] in :0
at MapMagic.Core.MapMagicObject.Update () [0x0002a] in :0

Tim Granström , 04.11.2021, 18:29
Idea status: completed

Comments

Wraith, 02.12.2021, 21:05
Fixed for 2.2.0

Leave a comment