LCVR icon indicating copy to clipboard operation
LCVR copied to clipboard

LCVR seemingly breaking NetcodePatcher when added to a VS Project

Open ScandalTheVandal opened this issue 6 months ago • 1 comments

Title could be better.

Sorry if this is a little short, but:

I am not 100% sure what is going on, but I wanted to add LC-VR compatibility to my mod, so I added it to my project, and upon compilation, it's as if NetcodePatcher fails to work, I don't have too much information beyond this as I am very clueless as to what is going on.

Looking through the DLL of my compiled mod through dNSpy confirms that NetcodePatcher does not run, removing LC-VR from my project rectifies this issue

Whether it's an issue with NetcodePatcher or LC-VR, I am completely unsure, but it would be great if it could looked into.

Cheers!

ScandalTheVandal avatar May 15 '25 23:05 ScandalTheVandal

Do you have any test repo's I can test this with? I've never used NetcodePatcher, but LCVR (especially when merely used as a reference) shouldn't blatantly break NetcodePatcher.

Which .NET are you targeting (Framework, Standard)? What build tool is used to patch your plugin (CLI, MSBuild?) If you are using MSBuild, does it also fail to patch when using the CLI Patcher? Does it also fail if the project is built using dotnet build instead of MSBuild? (still assuming you're using MSBuild).

DaXcess avatar May 20 '25 10:05 DaXcess