notfood / RimWorld-Outfitted

Outfit management
2 stars 9 forks source link

Crashed on startup (Linux is suspected) #14

Closed yesennes closed 2 years ago

yesennes commented 2 years ago

Hi,

When loading I get:

Command line arguments: -logfile /tmp/rimworld_log_1000
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

RimWorld 1.3.3287 rev1161
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
RimWorld.VersionControl:LogVersionNumber ()
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

ReflectionTypeLoadException getting types in assembly Outfitted: 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 <0a775bedd7b4490c96114e4102b6584c>:0 

Loader exceptions:
   => System.TypeLoadException: Could not resolve type with token 01000044 (from typeref, class/assembly HarmonyLib.CodeInstruction, 0Harmony, Version=2.1.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 ()

I suspect this is because I'm on Ubuntu 18.04.6. I'm going to look into tracking it down, but this is outside my wheelhouse, and it seems to be in the mod loading code, not the mod itself so who knows how far I'll get.

notfood commented 2 years ago

It needs Harmony. Error says you don't have Harmony in your modlist.

yesennes commented 2 years ago

Yup, that's the issue, thanks!

Looks like the instructions to install the dependency got removed from the steam workshop page. Might be best to add them back?