Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currently not compatible with Rimworld 1.1 #10

Open
Stretop opened this issue Feb 27, 2020 · 6 comments
Open

Currently not compatible with Rimworld 1.1 #10

Stretop opened this issue Feb 27, 2020 · 6 comments

Comments

@Stretop
Copy link

Stretop commented Feb 27, 2020

Attempt to start the game with only this mod and HugsLib enabled throws an exception:
Error while instantiating a mod of type DoctorVanGogh.ReclaimReuseRecycle.R3Mod: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100008c (from typeref, class/assembly Harmony.HarmonyInstance, 0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null)
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <567df3e0919241ba98db88bec4c6696f>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at Verse.LoadedModManager.CreateModClasses () [0x00076] in <2d8f708a544445a5aeef7591960fe008>:0

@pumacatrun2
Copy link

Have you tested yet with the new Harmony standalone mod as well?

@Stretop
Copy link
Author

Stretop commented Mar 1, 2020

Tried right now with Version 1.0.0.2 of Harmony. Load list:

  • Harmony
  • Core
  • Royalty
  • HugsLib v7.0.1
  • ReclaimReuseRecycle
    Game fails to start and rolls back. The exception is:
    Error while instantiating a mod of type DoctorVanGogh.ReclaimReuseRecycle.R3Mod: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100008c (from typeref, class/assembly Harmony.HarmonyInstance, 0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null)
    at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <567df3e0919241ba98db88bec4c6696f>:0
    --- End of inner exception stack trace ---
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <567df3e0919241ba98db88bec4c6696f>:0
    at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <567df3e0919241ba98db88bec4c6696f>:0
    at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
    at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <567df3e0919241ba98db88bec4c6696f>:0
    at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <567df3e0919241ba98db88bec4c6696f>:0
    at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
    at Verse.LoadedModManager.CreateModClasses () [0x00076] in <2d8f708a544445a5aeef7591960fe008>:0

@pumacatrun2
Copy link

It's possible that the version of Harmony meant to be used just needs to be updated in the mod, going off of the common issue that it's caused. Could be talking out of my ass though.

@DoctorVanGogh
Copy link
Owner

I mean, I applaud your optimism in dicking around with stuff, but it's a tad more involved sadly. 😉
Upgrading from Rimworld 1.0 to 1.1 means jumping through several hoops on top of the (usual) version change shenanigans.

Update is in the works, but things are barfing currently.

Hard

Every corpse immediately disappears... which kinda defeats the whole purpose of the mod. So I need to find out which tiny behind the scenes detail changed so that my mucking about makes it fail spectacularly.

Until I've solved this: Freeze your corpses 😁

@pumacatrun2
Copy link

Haha thanks :)

@Stretop
Copy link
Author

Stretop commented Mar 2, 2020

Thanks for your answer.
Waiting for the update =)
(Ugh, leaving perfectly good implants in corpses is utter torture for my inner transhumanist >_<)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants