S1416774 ~Sim: Layer is being removed but it was not present.

Fixed
NotoriousPyro [github] · 4 years ago

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

  1. Load attached save and mods
  2. 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

1 attachment only for registered users
Captain Filip Captain Filip · 3 years ago

Thanks for the report. The warnings Layer is being removed but it was not present. should be benign and will be removed in the next game version. However I was not able to reproduce a crash. Can you help us identify what steps lead to the crash? If it is a hard-crash to desktop, including unity logs would help too.

Closed as ✅ Fixed

10 Showing 1–3 of 3