Closed kianzarrin closed 2 years ago
I did not manage to reproduce the problem using remove need for pipeline and HideTMPECrosswalks mods.
This catched my attention:
@raethegit Duplicate Assembly Scanner in the workshop, so i gave it a shot. Turns out this mod and Remove Need For Pipes are conflicting as they use the same method from different Harmony versions (yours v2.0.0, Remove Need For Pipes v1.2.0) which is said to be a very probable cause of those crashes.
From theoutput log we I see NetNode.RenderInstance is having format exception only when unpatching which is what I would expect to get because of https://github.com/boformer/NetworkSkins2/blob/master/README.md
at Harmony.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, Harmony.PatchInfo patchInfo, System.String instanceID) [0x00000] in 1 sequence, System.Action
1 action) [0x00000] in 1 sequence, System.Func
2 condition, System.Action`1 action) [0x00000] in
(Filename: Line: -1)
I did not get this exception when I tried it my self.
Turns out this mod and Remove Need For Pipes are conflicting as they use the same method from different Harmony versions (yours v2.0.0, Remove Need For Pipes v1.2.0)
Remove Need For Pipes does not patch NetNode.RenderInstance so that is not a problem.
@raethegit I need you to help me hunt down this bug. I am unable to reproduce it. Can you please:
[ ] Try to reproduce minimum test case. Try to unsubscribe from remove need for pipe mod to see if that would fix the problem (highly unlikely). then try to remove the rest of your mods until you manage to find the mod that is incompatible with mine. use binary search (see footnote *)
*use binary search. testing mods one by one is time consuming. try disable half of your mods and then perform the test. if you didn't see the crash then the incompatible mod most be in the other half. keep disabling half of your mods until you find the incompatible mod.