Open Dawzzy42 opened 3 years ago
It will let me place previews of buildings but when I click it says collides with object, even when not colliding. The crash happens as soon as I press the key to multi-copy (I changed it to ctrl so it I could keep flying but that was still working last night).
Same story
Same Here!
Okay, I'm more of a C++ programmer and not a C#, but after getting the same exact error or exception handler error thrown as others it appears to me that the provided message is stating that an undefined function or method is being called.
After reading through your source code in BuildPatch.cs pertaining to the code block from lines [543-556]
int num9 = 0;
foreach (BuildPreview buildPreview4 in _this.buildPreviews)
{
if (buildPreview4.coverObjId != 0 && buildPreview4.willCover)
{
_this.DoDestructObject(buildPreview4.coverObjId, out num9);
}
foreach (int objId in _this.tmp_links)
{
_this.DoDestructObject(objId, out num9);
}
}
_this.AfterPrebuild();
begin = false;
The method .DoDestructObject(...)
is not defined or declared anywhere within your source and I don't know if this function is or was defined either in the original game or within the BepInex Plugin Library as I'm not familiar with their code bases. However, it appears that before the most resent patch or update from the game developers on Steam your mod did work and now this function is trying to be invoked but the game doesn't seem to be able to find it. I don't know if they removed or changed the name of this method or not... but this is the general symptom and bug that I'm seeing... It shouldn't be too hard to track down to fix it and to update your amazing mod! Hope to see it fixed soon! I hope that this helps make it easier for you to make the appropriate changes... Keep up the amazing work on such a wonderful mod! Cheers!
Was working fine last night. I think the latest patch broke the mod. Got this error when I went to lay down a smelter line.