Crash when placing additional structures

Okay, so after my last post, the mod is now working as intended with the input. Now, however, when I try to place multiples of the structure in my solo game, it immediately crashes. If I am far enough away from one (i.e. it’s not rendering anymore), I can place another one, but when the game tries to have two near each other, it immediately crashes with this error:

Any help would be appreciated. It works great in the ADK, but just doesn’t want to cooperate in-game.

Fixed, problem was with snap points and encroachment checks.