Game crashing when removing my modded block

UNSCfighter shared this bug 21 days ago
Need More Information

I'm learning the mod tools and I wanted to create a thruster prop before i try and make a functional one. The thruster is much larger than the games size limit so I cut a quarter of the thruster off the model and then split that quarter into four parts, in game i can then assemble the 4 different parts into one quarter of the thruster prop, repeat 3 more times and the entire thruster is assembled. The issue I'm having is that whenever I delete or undo placing one of the blocks my game crashes. I attached the game log of when i deleted a block and the second zip is when i undo a block, I also attached a zip of my mod.

Replies (3)

photo
1

Update: I finished implementing the rest of the blocks i wanna add, a medium version and a small version. When i had them all in one world, the large, medium and small, I was able to delete one of the small thrusters, however when i deleted one of the medium it again crashed. I attached a copy of the game log and a copy of the newer mod. I should also note that all the thrusters are made the same way and there shouldnt be much different between them besides scale and amount of blocks used to make a thruster.

photo
1

Here are two more crash reports from the same issue. In noticed it mentions "Index was outside the bounds of the array." I dont know what that means. Any help would be really appreciated as this bug is preventing me from continuing to develop my mod.

photo
photo
1

Hello UNSCfighter,


After reviewing your mod, I noticed that there no additional LODs for the thrusters which produces several warnings in the editor. Additionally, some models appear to be slightly offset from the grid. Could you try to implement missing LODs and align the models to grid?

Here are the warnings:

7d8451eec1c590b0536131e0a707eaf3


Let me know if that helps.


Kind Regards,

Bartosz

Keen Software House

photo
1

Thanks for the reply Bartosz. Unfortunately after fixing all the errors I'm still running into the same crash when I delete the block. Interestingly enough though it seems that it only occurs when I delete Thrusters 1, 3, or 4. Thruster 2 is fine with being deleted and undone and wont crash the game. Im attaching the logs and a updated version of the mod. This doesnt have the other two kinds of thrusters but whatever issue is affecting the large thruster is probably responsible for the issue i had with the medium thruster.

photo
1

Heres the rest of the files i meant to send in the last message

photo
1

Hey any update on a potential fix for this?

photo
photo
1

Hello UNSCfighter,


I believe that what causes the crash is that the blocks you've made are off-set to 2.5m blocks. Note that all bigger blocks are fully enclosed in the 2.5m increments (ex. Gyroscope 7.5m can fit neatly 12 Armor Blocks 2.5m).

What I would suggest is different way of separating the block, so that all the parts are in increments of 2.5m.

Additionally, when investigating the issue, I've encountered a crash when placing one of your blocks:017791c432827c1178970a23a1dd9698That makes me believe that the blocks being offset causes the crashes.

Let me know if this helps.


Kind Regards,

Bartosz

Keen Software House

Leave a Comment
 
Attach a file