Can't load saved game

Fixed
mykolakushnir [github] · 2 years ago

Issue description

Can't load saved game from Update 1

Reproduction steps

  1. Load saved game (from Update1)
  2. Got next error:
    System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
    Could not resolve type with token 01000076 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController' in assembly 'Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController member:(null)
    Could not resolve type with token 01000076 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController' in assembly 'Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController member:(null)
    at Mafi.Core.Game.GameBuilder.InstantiateConfigsOrThrow[T] (Mafi.Collections.Set1[T] assembliesToScan, System.Collections.Generic.IEnumerable1[T] existingConfigs) [0x00018]
    at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__4.MoveNext () [0x001a0]
    at Mafi.Unity.GamePlayScene+<loadGame>d__21.MoveNext () [0x00211]
    at Mafi.Unity.GamePlayScene+<Initialize>d__18.MoveNext () [0x000a5]
    at Mafi.Unity.Main.stepSceneInitialization () [0x000dc]
    System.TypeLoadException: Could not resolve type with token 01000076 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController' in assembly 'Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController member:(null)
    System.TypeLoadException: Could not resolve type with token 01000076 from typeref (expected class 'Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController' in assembly 'Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null') assembly:Mafi.Unity, Version=0.5.5.0, Culture=neutral, PublicKeyToken=null type:Mafi.Unity.InputControl.Toolbar.IToolbarItemInputController member:(null)

Game version and build number

v0.6.0c b319

Operating system

Windows

Closed as ✅ Fixed

6 Showing 1–2 of 2