Unable to load save

Fixed Mod issue
APCBC-HE-T [github] · 1 year ago

Issue description

Loading a save from the previous minor version, but game initialization fails

Reproduction steps

Load an old v0.7.1e save

Game version and build number

v0.7.2 b432

Operating system

Windows

Attachments

Game initialization failed. Please send us a detailed report.

Mafi.DependencyResolverException: Failed to instantiate COIExtended.Cheats.Cheats.StorageGodMode. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'COIExtended.Cheats.Cheats.StorageGodMode'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 01000111 from typeref (expected class 'Mafi.Unity.Ui.Hud.Toolbar.IToolbarItemController' in assembly 'Mafi.Unity, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null')
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_gc_wbarrier_generic_nostore_internal(intptr)
at (wrapper write-barrier) System.Object.wbarrier_conc(intptr)
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) [0x00260] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0028b]
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x0008e]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x000aa]
at Mafi.DependencyResolver.InstantiateAllAndLock () [0x002e6]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__6.MoveNext () [0x00077]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x00390]
at Mafi.Unity.GamePlayScene+<loadGame>d__23.MoveNext () [0x00297]
at Mafi.Unity.GamePlayScene+<Initialize>d__20.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__88.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dd]

25-05-25_22-17-02_8638.log

Originally posted in Chinese
无法加载存档
### Issue description 加载上个小版本的存档,但游戏初始化失败 ### Reproduction steps 加载v0.7.1e旧存档 ### Game version and build number v0.7.2 b432 ### Operating system Windows ### Attachments 游戏初始化失败。请向我们发送详细报告。 Mafi.DependencyResolverException: Failed to instantiate COIExtended.Cheats.Cheats.StorageGodMode. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'COIExtended.Cheats.Cheats.StorageGodMode'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 01000111 from typeref (expected class 'Mafi.Unity.Ui.Hud.Toolbar.IToolbarItemController' in assembly 'Mafi.Unity, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null') at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_gc_wbarrier_generic_nostore_internal(intptr) at (wrapper write-barrier) System.Object.wbarrier_conc(intptr) 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) [0x00260] --- 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) [0x0028b] at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x0008e] --- End of inner exception stack trace --- at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x000aa] at Mafi.DependencyResolver.InstantiateAllAndLock () [0x002e6] at Mafi.Core.Game.GameBuilder+<initializeGame>d__6.MoveNext () [0x00077] at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x00390] at Mafi.Unity.GamePlayScene+<loadGame>d__23.MoveNext () [0x00297] at Mafi.Unity.GamePlayScene+<Initialize>d__20.MoveNext () [0x000a5] at Mafi.Unity.Main+<unloadAndStartNewScene>d__88.MoveNext () [0x000fc] at Mafi.Unity.Main.stepSceneInitialization () [0x000dd] 25-05-25\_22-17-02\_8638.log
1 attachment only for registered users
Captain Zuff Captain Zuff · 1 year ago

This is a mod issue, please check with the mod author for an updated version of this mod.

Closed as ✅ Fixed

11 Showing 1–2 of 2