Crash while loading

Crash Saves & Loading
Blender-Sama · 1 month ago

SInce update 0.8.7b I seem to have a rave condition when loading a game. Sometimes it loads but I can't click on any storage building. One time I had trucks just not moving. Since 0.8.7c I also have crashes.

I'm playing on Nobara linux.

The game could not be started. If the problem persists, please create a bug report.

Mafi.DependencyResolverException: Failed to instantiate Mafi.Unity.Ui.Controllers.Designations.DumpingDesignationController. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Unity.Ui.Controllers.Designations.DumpingDesignationController'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Mafi.Unity.Ui.Controllers.Designations.AreaToolbox..ctor (Mafi.Unity.Ui.Hud.ToolbarHud toolbar, Mafi.Unity.InputControl.ShortcutsManager shortcutsManager, Mafi.Unity.Ui.Controllers.Designations.AreaToolbox+ToolType toolType) <0x7fd1c170 + 0x00000>
at Mafi.Unity.Ui.Controllers.Designations.DumpingDesignationController..ctor (Mafi.Unity.Ui.Hud.ToolbarHud toolbar, Mafi.Unity.Ui.UiContext context, Mafi.Unity.InputControl.TerrainCursor terrainCursor, Mafi.Unity.Terrain.Designation.TerrainDesignationsRenderer renderer, Mafi.Unity.Mine.TowerAreasRenderer towerAreasRenderer, Mafi.Unity.Vehicles.LogisticsZonesRenderer logisticsZonesRenderer, Mafi.Core.Terrain.Designation.TerrainDesignationsManager manager, Mafi.Unity.UiStatic.Controllers.DesignationControllerCursors cursors, Mafi.NewInstanceOf1[T] cursorMessage, Mafi.NewInstanceOf1[T] terrainOutlineRenderer, Mafi.Core.Terrain.Designation.ITerrainDesignationsManager designationManager, Mafi.Unity.InputControl.Inspectors.Buildings.OceanAreasOverlayRenderer oceanOverlayRenderer) [0x00005]
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005]
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a]
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086]
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00284] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x002b2]
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x0008f]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x000ae]
at Mafi.DependencyResolver.InstantiateAllAndLock () [0x00316]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__5.MoveNext () [0x0007d]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00650]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__117.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.7c
Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.4.1), (Kayser's Automatic Terrain Designations 0.8.2), (BeTTerLife: Retaining Walls 1.2.3), (Show Terrain Grid 1.0.2), (Mechanical Shafts 1.0.1), (Real Life Time 1.0.0), (Research Queue 1.0.1), (Wind turbines 0.1.11a)
Failed mods: none

Originally posted in German
SInce update 0.8.7b I seem to have a rave condition when loading a game. Sometimes it loads but I can't click on any storage building. One time I had trucks just not moving. Since 0.8.7c I also have crashes. \ \ I'm playing on Nobara linux. Das Spiel konnte nicht gestartet werden. Wenn das Problem weiterhin besteht, erstelle bitte einen Fehlerbericht. Mafi.DependencyResolverException: Failed to instantiate Mafi.Unity.Ui.Controllers.Designations.DumpingDesignationController. ---&gt; Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Unity.Ui.Controllers.Designations.DumpingDesignationController'. ---&gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object\ at Mafi.Unity.Ui.Controllers.Designations.AreaToolbox..ctor (Mafi.Unity.Ui.Hud.ToolbarHud toolbar, Mafi.Unity.InputControl.ShortcutsManager shortcutsManager, Mafi.Unity.Ui.Controllers.Designations.AreaToolbox+ToolType toolType) &lt;0x7fd1c170 + 0x00000&gt;\ at Mafi.Unity.Ui.Controllers.Designations.DumpingDesignationController..ctor (Mafi.Unity.Ui.Hud.ToolbarHud toolbar, Mafi.Unity.Ui.UiContext context, Mafi.Unity.InputControl.TerrainCursor terrainCursor, Mafi.Unity.Terrain.Designation.TerrainDesignationsRenderer renderer, Mafi.Unity.Mine.TowerAreasRenderer towerAreasRenderer, Mafi.Unity.Vehicles.LogisticsZonesRenderer logisticsZonesRenderer, Mafi.Core.Terrain.Designation.TerrainDesignationsManager manager, Mafi.Unity.UiStatic.Controllers.DesignationControllerCursors cursors, Mafi.NewInstanceOf`1[T] cursorMessage, Mafi.NewInstanceOf`1\[T\] terrainOutlineRenderer, Mafi.Core.Terrain.Designation.ITerrainDesignationsManager designationManager, Mafi.Unity.InputControl.Inspectors.Buildings.OceanAreasOverlayRenderer oceanOverlayRenderer) \[0x00005\]\ at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object\[\],System.Exception&)\ at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object\[\] parameters, System.Boolean wrapExceptions) \[0x00005\]\ --- End of inner exception stack trace ---\ at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object\[\] parameters, System.Boolean wrapExceptions) \[0x0001a\]\ at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object\[\] parameters, System.Globalization.CultureInfo culture) \[0x00086\]\ at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object\[\] parameters, System.Globalization.CultureInfo culture) \[0x00000\]\ at System.Reflection.ConstructorInfo.Invoke (System.Object\[\] parameters) \[0x00000\]\ at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set`1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00284] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set`1\[T\] pendingResolves, System.Int32 recursionDepth, System.Object\[\] args) \[0x002b2\]\ at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) \[0x0008f\]\ --- End of inner exception stack trace ---\ at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) \[0x000ae\]\ at Mafi.DependencyResolver.InstantiateAllAndLock () \[0x00316\]\ at [Mafi.Core.Game](http://Mafi.Core.Game).GameBuilder+&lt;initializeGame&gt;d__5.MoveNext () \[0x0007d\]\ at [Mafi.Core.Game](http://Mafi.Core.Game).GameBuilder+&lt;BuildLoadedGameTimeSliced&gt;d__1.MoveNext () \[0x00650\]\ at Mafi.Unity.GamePlayScene+&lt;loadGame&gt;d__28.MoveNext () \[0x002ca\]\ at Mafi.Unity.GamePlayScene+&lt;Initialize&gt;d__25.MoveNext () \[0x000ad\]\ at Mafi.Unity.Main+&lt;unloadAndStartNewScene&gt;d__117.MoveNext () \[0x0013b\]\ at Mafi.Unity.Main.stepSceneInitialization () \[0x00104\] Game version: 0.8.7c\ Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.4.1), (Kayser's Automatic Terrain Designations 0.8.2), (BeTTerLife: Retaining Walls 1.2.3), (Show Terrain Grid 1.0.2), (Mechanical Shafts 1.0.1), (Real Life Time 1.0.0), (Research Queue 1.0.1), (Wind turbines 0.1.11a)\ Failed mods: none
Edited 1 month ago
Blender-Sama · 1 month ago

Forgot to attach the files.

3 attachments only for registered users
JustADragon · 1 month ago

ah, yep, linux

welcome to the club, this is a common problem among those of us using any distribution

there are workarounds, but no fixes. pre-loading mods from the new game menu works almost all of the time to avoid the race condition, and you can consider cutting some mods if you know which part of the game keeps failing

hell, it looks like you have the exact same loading bug as i do, where the UI doesn't set up properly. you mentioned that you can't open any storage buildings, i presume that extends to any and all other popup windows (vehicle, building, build menu, even the save menu). i've found that limiting the number of UI modifications does seem to help. i had both auto forestry and terrain, i dropped forestry and things seemed to get better. so i'd recommend dropping that mod if you want to try that.

feel free to ask me for more help, since i seem to have the exact same problem through bazzite. don't expect a solution since the devs are only building for windows, but there are ways around

Blender-Sama · 1 month ago

Thanks for the idea. Loading through the mod selection screen seems to work.

👍 1
88 Showing 1–4 of 4