cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
119 stars 21 forks source link

[Vanilla Expanded Framework] Incompatibility with latest Vanilla Expanded Framework #658

Closed Kevok93 closed 2 years ago

Kevok93 commented 2 years ago

IMPORTANT:

Please first search existing bugs to ensure you are not creating a duplicate bug report!
Make sure you have the latest version of Rimworld!

Describe the bug

Installing both RimThreaded and 2021/09/10 Vanilla Expanded Framework causes main menu to fail to render. As of 2021/09/09, this did not cause any issue.

Steps to reproduce the behavior (VERY IMPORTANT)

Enable both mods. On reload, Main menu will not appear.

Error Logs

Player.log

http://sprunge.us/ovqR3c

HugsLib log

N/A

Save file

N/A

Screenshots

https://imgur.com/aylhzI8

Mod list (Preferably a RimPy compatible list.)

Their repo: https://github.com/AndroidQuazar/VanillaExpandedFramework/commits/c7bf2a88b683c8f235dc537b034b928a55cde48b

Kevok93 commented 2 years ago

Naturally, as soon as I submit this, I noticed the following line in my logs. Deleting the relevant caches seems to have fixed my issue.

RimThreaded is loading Cached Field Replacements from: 
/home/kevok/.steam/steamold/steamapps/workshop/content/294100/2222907981/1.3/Assemblies/Caches/8b6be70b-8596-45d1-bfe4-6adfe4f4f38f.json
Error in static constructor of RimThreaded.RimThreaded: 
System.TypeInitializationException: The type initializer for 'RimThreaded.RimThreaded' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 'RimThreaded.RimThreadedHarmony' threw an exception. ---> 
Newtonsoft.Json.JsonSerializationException: Error converting value "RimWorld.IdeoUtility+<>c__DisplayClass20_0&, Assembly-CSharp, Version=1.3.7907.24875, Culture=neutral, PublicKeyToken=null" to type 'System.Type'. Path '[296].ParametersType[1]', line 2060, position 131. ---> 
System.ArgumentException: Could not cast or convert from System.String to System.Type.
Niilo007 commented 2 years ago

Closing this issue, The fix is to delete the cache. problem was caused by a Vanilla Expanded Framework update