I have narrowed down a scenario which reproduces part of the problem.
But note that my example here seems to be SEPARATE from the pure rotation bug where you get a crash by rotating a connection 3 times. Anyway, I have a very simple example below which you should be able to reproduce easily and reliably.
First, set up the following items.
Next, CTRL-R to rotate the underground connections of the 1-2 pipe to ground, in order that it connects to both of the other items.
The situation here is that we have an underground connection flowing along all three items. And the middle pipe has an above-ground connection facing south.
Next, place a 1-3 pipe to ground as illustrated below. This will crash the game.
Crash Log
What is going on here is that the 1-3 pipe is severing the existing connection between the center and the south pipes and simultaneously creating a new connection between the 1-3 pipe and the southern pipe WHILE ALSO joining with the pipe whose connection it severed.
I think this is the key because if the aboveground connection was not simultaneously made, it does not crash the game. As seen below.
Also, if you do not have the existing connection to the south pipe before placing the 1-3 aboveground connected pipe, and THEN rotate the south pipe so that it makes the connection to the 1-3 pipe, it does not crash the game. See below.
Note that the final picture above is the exact scenario which WILL crash the game if the 1-3 pipe is placed last. If I were to pick up the 1-3 pipe right now and then replace it again where it was, the game would crash. This is because picking up the pipe reestablishes the original pre-crash scenario with the south pipe connection, which is then broken once I place the 1-3pipe back down.
Note ALSO that if I fast-replace the 1-3 pipe with a Tier 2 1-3 pipe, which is identical except for its maximum length, that it DOES crash the game. I have tested this, and it may account for why Staplergun is getting a fast-replace crash bug in
this report.
What is very odd that I don't understand is the fact that if you put a single normal pipe as a buffer, the crash never happens
