Hey, a user of my mod CaptainShotgunModes reported an issue when loading it with LighterPatcher:
[Info :LighterPatcher] Collecting methods from: CaptainShotgunModes
[Error :LighterPatcher] Error on: E:\Games\Steam\steamapps\common\Risk of Rain 2\r2modman\BepInEx\plugins\Vl4dimyr-CaptainShotgunModes\CaptainShotgunModes.dll
[Error :LighterPatcher] System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0004a] in <2fa7a6a452ca43df998f07fd1486c0df>:0
at LighterPatcher.Helpers.GetNeededTypes (Mono.Cecil.Cil.Instruction instruction, System.Collections.Generic.List`1[System.String]& typeList) [0x0003b] in <be57066659db4b0daabcb5649b81762a>:0
at LighterPatcher.LightestPatcher.CollectMethodDefinitions (Mono.Cecil.AssemblyDefinition assembly) [0x0009e] in <be57066659db4b0daabcb5649b81762a>:0
at LighterPatcher.LightestPatcher.TellBepinAbsolutelyNothingBecauseThePluginsFolderIsntManaged () [0x00092] in <be57066659db4b0daabcb5649b81762a>:0
I guess the bug is around here. But the question is now will you add some checks so this doesn't happen or do you have any suggestion on what I can do or do both of us change something to prevent this from happening? xD
Hey, a user of my mod CaptainShotgunModes reported an issue when loading it with LighterPatcher:
I guess the bug is around here. But the question is now will you add some checks so this doesn't happen or do you have any suggestion on what I can do or do both of us change something to prevent this from happening? xD