Skip to content

ReflectionTypeLoadException getting types in assembly VanillaTexturesExpanded #2

@Hirurgh

Description

@Hirurgh

Descrition:

An exception is thrown at the game loading.

Platform:

  • Windows 7 SP1 x64
  • Rimworld 1.4.3901 rev228 64-bit
  • Harmony: Lib v2.2.2.0. Mod v1.5.0.0

Additional info:

The exception appears at first time in 9bd3222 commit of 2023.11.25 with many other errors.
The add5551 commit of 2023.11.26 fixes all the errors except that one.

Stack trace:

ReflectionTypeLoadException getting types in assembly VanillaTexturesExpanded: System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <eeb29632ad124b59a4e69a77603ced84>:0 

Loader exceptions:
   => System.TypeLoadException: Could not resolve type with token 0100002d (from typeref, class/assembly ModSettingsFramework.PatchOperationWorker, 0ModSettingsFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)

UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ModAssemblyHandler:AssemblyIsUsable (System.Reflection.Assembly)
Verse.ModAssemblyHandler:ReloadAll ()
Verse.ModContentPack:ReloadContent ()
Verse.LoadedModManager:LoadModContent ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions