Issue description
Game just started spamming various errors in logs prior to the game crashing with the unity error handling display. Neither of the mods have any changes to terrain.
Example
W 21:00:56,532 S1416774 ~Sim: Layer is being removed but it was not present.
at Mafi.Unity.Terrain.TerrainChunkRenderer.removeDetails (Mafi.Core.Products.DetailLayerSpecProto detailLayerProto, System.Int32 tileDataIndex)
at Mafi.Unity.Terrain.TerrainChunkRenderer.<updateTileTextures>g__removeDetailsDeferred|111_1 (Mafi.Core.Products.TerrainMaterialProto terrainMaterial, Mafi.Unity.Terrain.TerrainChunkRenderer+<>c__DisplayClass111_0& )
at Mafi.Unity.Terrain.TerrainChunkRenderer.updateTileTextures (Mafi.Core.Terrain.TerrainTile tile, System.Int32 vertexIndex)
at Mafi.Unity.Terrain.TerrainChunkRenderer.updateTextureData ()
at Mafi.Unity.Terrain.TerrainChunkRenderer.UpdateStateOnSim ()
at Mafi.Unity.Terrain.TerrainRenderer.updateStateOnSim ()
at Mafi.EventNonSaveable.Invoke ()
at Mafi.EventNonSaveable.InvokeTraced (System.String traceCategory)
at Mafi.Core.Simulation.SimLoopEvents.InvokeGameStep (Mafi.Core.Input.IInputCommandsProcessor inputCommandsProcessor)
at Mafi.Core.Simulation.SimulationBackgroundTask.PerformWork ()
Expected behavior
Game not to crash.
Reproduction steps
- Load attached save and mods
- Notice in the log file the errors
Game version
v0.4.12e
Attachments
22-09-27_20-25-05_6600.log
22-09-27_21-40-autosave-paused.save
Files not imported: 22-09-27_21-40-autosave-paused.save, other files in save.zip