Cannot Load Map

Crash Saves & Loading
BabyBatman [github] · 2 years ago

Issue description

Whenever I try to load my save, it says "Game failed to initialize. Please file a bug report if this issue persists."

Reproduction steps

I will load up the game. Click on continue my save. and it will load and then output the error.
This happens if I hit load and then select the save too. And for auto saves.

Here is the output it gives.

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

System.NullReferenceException: Object reference not set to an instance of an object
at Mafi.Core.Terrain.TerrainManager.IsOcean (Mafi.Tile2iIndex index) [0x0000c]
at Mafi.Unity.Camera.OrbitalCameraModel.recomputePivotHeight () [0x00048]
at Mafi.Unity.Camera.OrbitalCameraModel.SetMode (Mafi.Unity.Camera.CameraMode mode) [0x000cf]
at Mafi.Unity.Camera.OrbitalCameraModel.Initialize () [0x00000]
at Mafi.Unity.Camera.CameraController+<>c__DisplayClass28_0.<.ctor>b__0 () [0x00000]
at Mafi.Core.GameLoop.IGameLoopEventsExtensions+<makeEnumerator>d__3.MoveNext () [0x00013]
at Mafi.Core.GameLoop.GameLoopEvents+<InvokeRendererInitializeState>d__66.MoveNext () [0x000d3]
at Mafi.Core.GameLoop.GameRunner+<Initialize>d__104.MoveNext () [0x0039f]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__6.MoveNext () [0x00127]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x0037a]
at Mafi.Unity.GamePlayScene+<loadGame>d__21.MoveNext () [0x00296]
at Mafi.Unity.GamePlayScene+<Initialize>d__18.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__70.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dc]

Game version and build number

v0.6.4 b337

Operating system

Windows

Captain Marek Captain Marek · 2 years ago

Can you share the save file that is failing to load?

17 Showing 1–2 of 2