The game doesn't load after being saved

Mod issue Saves & Loading

A game update can break mods until their authors rebuild them. Mods not working explains how to keep playing meanwhile.

rudy schtickzelle rudy schtickzelle · 20 days ago

Issue description

The game failed to initialize. If the problem persists, please file a bug report.

Mafi.Core.Game.GameBuilderException: An exception was thrown while registering global dependencies in assembly 'KeybindFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ---> System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load type of field 'KeybindFramework.KeybindCollisionInjector+<>c:<>9__7_0' (1) due to: Could not resolve type with token 01000025 from typeref (expected class 'Mafi.Unity.InputControl.KeyBinding' in assembly 'Mafi.Unity, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.InputControl.KeyBinding member:(null)
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000]
at Mafi.DependencyResolverBuilder.RegisterAllGlobalDependencies (System.Reflection.Assembly assembly, System.Predicate1[T] shouldRegisterPredicate) [0x00012] at Mafi.Core.Game.GameBuilder.registerDependenciesOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, System.Collections.Generic.IEnumerable1[T] assemblies, Mafi.DependencyResolverBuilder depBuilder, Mafi.Core.Prototypes.ProtosDb protosDb, System.Boolean gameWasLoaded) [0x000c8]
--- End of inner exception stack trace ---
at Mafi.Core.Game.GameBuilder.registerDependenciesOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, System.Collections.Generic.IEnumerable1[T] assemblies, Mafi.DependencyResolverBuilder depBuilder, Mafi.Core.Prototypes.ProtosDb protosDb, System.Boolean gameWasLoaded) [0x00112] at Mafi.Core.Game.GameBuilder.RegisterModDependenciesOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, System.Collections.Generic.IEnumerable1[T] assemblies, Mafi.Core.Prototypes.ProtosDb protosDb, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] configs, Mafi.Core.IFileSystemHelper fsHelper, System.Boolean gameWasLoaded) [0x0007c]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00494]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__125.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]

Game version: 0.8.8
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Industrial Expansion 1.0.5), (Keybind Framework 2.0.6)
Failed mods: none

Reproduction steps

start a game

Game version and build number

v0.8.8 (b627)

Which branch of the game are you on?

Stable

Operating system

Windows

Originally posted in French
le jeu ne se charge pas apres avoir ete sauvegarder
### Issue description Le jeu n'a pas pu s'initialiser. Si le problème persiste, veuillez remplir un rapport de bug. Mafi.Core.Game.GameBuilderException: An exception was thrown while registering global dependencies in assembly 'KeybindFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ---&gt; System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\ Could not load type of field 'KeybindFramework.KeybindCollisionInjector+&lt;&gt;c:&lt;&gt;9__7_0' (1) due to: Could not resolve type with token 01000025 from typeref (expected class 'Mafi.Unity.InputControl.KeyBinding' in assembly 'Mafi.Unity, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.InputControl.KeyBinding member:(null)\ at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\ at System.Reflection.Assembly.GetTypes () \[0x00000\]\ at Mafi.DependencyResolverBuilder.RegisterAllGlobalDependencies (System.Reflection.Assembly assembly, System.Predicate`1[T] shouldRegisterPredicate) [0x00012] at Mafi.Core.Game.GameBuilder.registerDependenciesOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray`1\[T\] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] mods, System.Collections.Generic.IEnumerable`1\[T\] assemblies, Mafi.DependencyResolverBuilder depBuilder, Mafi.Core.Prototypes.ProtosDb protosDb, System.Boolean gameWasLoaded) \[0x000c8\]\ --- End of inner exception stack trace ---\ at Mafi.Core.Game.GameBuilder.registerDependenciesOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray`1\[T\] mods, System.Collections.Generic.IEnumerable`1[T] assemblies, Mafi.DependencyResolverBuilder depBuilder, Mafi.Core.Prototypes.ProtosDb protosDb, System.Boolean gameWasLoaded) [0x00112] at Mafi.Core.Game.GameBuilder.RegisterModDependenciesOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray`1\[T\] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] mods, System.Collections.Generic.IEnumerable`1\[T\] assemblies, Mafi.Core.Prototypes.ProtosDb protosDb, Mafi.Collections.ImmutableCollections.ImmutableArray\`1\[T\] configs, Mafi.Core.IFileSystemHelper fsHelper, System.Boolean gameWasLoaded) \[0x0007c\]\ at Mafi.Core.Game.GameBuilder+&lt;BuildLoadedGameTimeSliced&gt;d__1.MoveNext () \[0x00494\]\ 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__125.MoveNext () \[0x00146\]\ at Mafi.Unity.Main.stepSceneInitialization () \[0x00122\] Game version: 0.8.8\ Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Industrial Expansion 1.0.5), (Keybind Framework 2.0.6)\ Failed mods: none ### Reproduction steps demarer une partie ### Game version and build number v0.8.8 (b627) ### Which branch of the game are you on? Stable ### Operating system Windows
Captain Matt Captain Matt · 20 days ago

Problably outdated mods, Keybind Framework 2.0.7 is available to be downloaded.

萌新 和稀泥入迷 萌新 和稀泥入迷 · 20 days ago

Mods: if you use them, don't be afraid; if you're afraid, don't use them. I want my saves to stay stable, so I don't use mods😉

Originally posted in Chinese
模组 用不要怕,怕不要用。我为了存档稳定,所以不用模组😉

Closed as duplicate of Bug: products vanish on conveyor belt passing connectors 6 days ago

26 Showing 1–3 of 3