MaFi-Games / Captain-of-Industry-issues

Public issue tracker for Captain of Industry video game
22 stars 4 forks source link

Game Crashes #1510

Open GunMetal919 opened 5 months ago

GunMetal919 commented 5 months ago

Issue description

Game won't load my previous save and crashes

Reproduction steps

Tried to reload the game, restart the computer and reload the saved game

Game version and build number

v0.6.3a b333

Operating system

Windows

Attachments

The game failed to initialize. Please file a bug report if this issue persists.

System.IndexOutOfRangeException: Index was outside the bounds of the array. at Mafi.Unity.Terrain.TerrainRenderer.encodeSplatsData (Mafi.Collections.Pair`2[Mafi.Core.Products.TerrainMaterialSlimId,Mafi.Fix32][] data, System.Int32 count) [0x00078]
at Mafi.Unity.Terrain.TerrainRenderer+TerrainRendererChunk.InitializeData () [0x00116]
at Mafi.Unity.Terrain.TerrainRenderer.initState () [0x00391]
at Mafi.Core.GameLoop.IGameLoopEventsExtensions+d3.MoveNext () [0x00013]
at Mafi.Core.GameLoop.GameLoopEvents+d
63.MoveNext () [0x000d3]
at Mafi.Core.GameLoop.GameRunner+d105.MoveNext () [0x00345]
at Mafi.Core.Game.GameBuilder+d
6.MoveNext () [0x00127]
at Mafi.Core.Game.GameBuilder+d3.MoveNext () [0x003a8]
at Mafi.Unity.GamePlayScene+d
21.MoveNext () [0x0023c]
at Mafi.Unity.GamePlayScene+d18.MoveNext () [0x000a5]
at Mafi.Unity.Main+d
70.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dc]

MaFi-Games commented 5 months ago

Could you please share us that save file that is failing? Also are you running some mods?