Open Nobisyu12 opened 2 years ago
Hi, could you please provide client log files for the crash?
I'm not very adept in GitHub, so I hope this uploaded correctly.
and this is what tmodloader itself returns in the error screen if you needed that too
Hi, could you also send the structure file you are trying to generate and the snippet of code where you are calling the StructureHelper method? These will help in attempting to reproduce the issue.
Alright here is the Alchemy Lab structure generation code (chances are the others will have the same issue just this one is first alphabetically). GitHub says they don't support the file type of the structure so here is a google drive link to the structure file
https://drive.google.com/file/d/13GENTueUBTod8b44lG1j2YS5W_RUQ4ON/view?usp=sharing
here is the generation code in form of hastebin because again github has said it doesnt support that file type: https://www.toptal.com/developers/hastebin/uxukusipab.csharp The generation methods are also called in the other partial AnarchistWorld ModWorld class's ModifyWorldGenTasks
if you need anything else, let me know
I have correctly referenced the DLL file of the mod in my own mod but it still makes it so the generation will fail and crash unless the Structure Helper mod is enabled itself. It keeps giving the error 'Object reference not set to an instance of an object` when it comes to my mod's instance but I know that's not the issue because I have verified it with the tModLoader Discord that that is not the issue several times. Everything is set up correctly and we even did a test where we had the exact same code and same situation and theirs worked but mine failed. So I'm not exactly sure what I am doing wrong here. I didn't really know how else to try and get this issue solved so I came here.
Also on a side note why does the mod auto disable itself when going into multiplayer?