Error on startup

Fixed
Sakata-MC [github] · 1 year ago

Issue description

Error on startup
I've verified game files via steam, still occurs

Reproduction steps

Start game

Game version and build number

v0.7.5b b454

Operating system

Windows

Attachments

Failed to load mods from 'COIExtended': System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 01000190 from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.UiFramework.IUnityUi member:(null)
Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000190 from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 0100015f from typeref (expected class 'Mafi.Unity.InputControl.Inspectors.StaticEntityInspectorBase`1' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000163 from typeref (expected class 'Mafi.Unity.UserInterface.WindowView' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000177 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemController' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000184 from typeref (expected class 'Mafi.Unity.InputControl.World.WorldGeneralLocationView' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000031 from typeref (expected class 'Mafi.Unity.UiFramework.IUiElement' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000031 from typeref (expected class 'Mafi.Unity.UiFramework.IUiElement' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.RuntimeAssembly.GetExportedTypes () [0x00000] in <e19fb1224222436ca0871ff12e7fb293>:0 
  at Mafi.Core.Mods.ModsLoader.loadModFromFileOrThrow (Mafi.Core.Mods.ModGroup group, System.String name, System.String filePath, System.Boolean loadAssemblyDependencies, Mafi.Option`1[T] assetBundlesPath, Mafi.Collections.Lyst`1[T] loadedMods) [0x00063] in <54cfb13c04ea4de8afdba9b837b13c4f>:0 
  at Mafi.Core.Mods.ModsLoader.LoadAllModsFrom (Mafi.Core.Mods.ModGroup group, System.String modsRootPath, System.Boolean loadAssemblyDependencies, Mafi.Collections.ImmutableCollections.ImmutableArray`1[Mafi.Core.SaveGame.ModInfoRaw]& failedMods, System.String& error, System.Action onModLoadError) [0x00146] in <54cfb13c04ea4de8afdba9b837b13c4f>:0 
System.TypeLoadException: Could not resolve type with token 01000190 from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.UiFramework.IUnityUi member:(null)
System.TypeLoadException: Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000190 from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 0100015f from typeref (expected class 'Mafi.Unity.InputControl.Inspectors.StaticEntityInspectorBase`1' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000163 from typeref (expected class 'Mafi.Unity.UserInterface.WindowView' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000177 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemController' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000184 from typeref (expected class 'Mafi.Unity.InputControl.World.WorldGeneralLocationView' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000031 from typeref (expected class 'Mafi.Unity.UiFramework.IUiElement' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000031 from typeref (expected class 'Mafi.Unity.UiFramework.IUiElement' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000152 from typeref (expected class 'Mafi.Unity.UiToolkit.Library.ITab' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null').
Failed to load mods from 'COIExtended.Cheats': System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 01000084 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemController' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 01000095 from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
Could not resolve type with token 010000a4 from typeref (expected class 'Mafi.Unity.InputControl.Tools.BaseEntityCursorInputController`1' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.RuntimeAssembly.GetExportedTypes () [0x00000] in <e19fb1224222436ca0871ff12e7fb293>:0 
  at Mafi.Core.Mods.ModsLoader.loadModFromFileOrThrow (Mafi.Core.Mods.ModGroup group, System.String name, System.String filePath, System.Boolean loadAssemblyDependencies, Mafi.Option`1[T] assetBundlesPath, Mafi.Collections.Lyst`1[T] loadedMods) [0x00063] in <54cfb13c04ea4de8afdba9b837b13c4f>:0 
  at Mafi.Core.Mods.ModsLoader.LoadAllModsFrom (Mafi.Core.Mods.ModGroup group, System.String modsRootPath, System.Boolean loadAssemblyDependencies, Mafi.Collections.ImmutableCollections.ImmutableArray`1[Mafi.Core.SaveGame.ModInfoRaw]& failedMods, System.String& error, System.Action onModLoadError) [0x00146] in <54cfb13c04ea4de8afdba9b837b13c4f>:0 
System.TypeLoadException: Could not resolve type with token 01000084 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemController' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 01000095 from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
System.TypeLoadException: Could not resolve type with token 010000a4 from typeref (expected class 'Mafi.Unity.InputControl.Tools.BaseEntityCursorInputController`1' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null').
Failed to load mods from 'COIExtended.StoragePlus': System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 0100003c from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null')
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.RuntimeAssembly.GetExportedTypes () [0x00000] in <e19fb1224222436ca0871ff12e7fb293>:0 
  at Mafi.Core.Mods.ModsLoader.loadModFromFileOrThrow (Mafi.Core.Mods.ModGroup group, System.String name, System.String filePath, System.Boolean loadAssemblyDependencies, Mafi.Option`1[T] assetBundlesPath, Mafi.Collections.Lyst`1[T] loadedMods) [0x00063] in <54cfb13c04ea4de8afdba9b837b13c4f>:0 
  at Mafi.Core.Mods.ModsLoader.LoadAllModsFrom (Mafi.Core.Mods.ModGroup group, System.String modsRootPath, System.Boolean loadAssemblyDependencies, Mafi.Collections.ImmutableCollections.ImmutableArray`1[Mafi.Core.SaveGame.ModInfoRaw]& failedMods, System.String& error, System.Action onModLoadError) [0x00146] in <54cfb13c04ea4de8afdba9b837b13c4f>:0 
System.TypeLoadException: Could not resolve type with token 0100003c from typeref (expected class 'Mafi.Unity.UiFramework.IUnityUi' in assembly 'Mafi.Unity, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null').
poltime poltime · 1 year ago

Failed to load mods

Disable mod(s), incompatible with the current version of the game.

Sakata-MC [github] · 1 year ago

Doh! Feel daft, didn't comprehend what I was reading. Forgot there were even mods for the game, I haven't touched it in a while and there isn't workshop support.

Closed as ✅ Fixed

6 Showing 1–3 of 3