Page 1 of 1

[raiguard][2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Posted: Tue Oct 22, 2024 1:53 am
by Aquaholic27
I just attempted to rotate / place over this copy+paste I did of the pipes around my crashed spaceship to try mark out a 'buffer zone' around the ship--
Screenshot 2024-10-22 at 9.35.54 am.png
Screenshot 2024-10-22 at 9.35.54 am.png (10.46 MiB) Viewed 862 times
And the game crashed as I pressed R to rotate the 'L' section of pipes - it didn't occur when I pressed it with just a single line of the underground pipe segments, maybe it's to do with the copy area including the ship?

I expected the pipe segments to rotate so I could place them over the preexisting ones to 'fill out' the corners a little like they were on the top left, but this time on the bottom left.
When attempting to reproduce this, I was able to find that it seemingly occurs when you'd overwrite an existing pipe connection with the undergrounds facing another direction? I've attached two videos of the attempts to hopefully clarify this. I can't quite classify what causes it to crash or not, given that it doesn't always seem to crash when showing the blueprints hovering over. I haven't clicked at any point in here, and one thing I am wondering is if the focus is required to be on another window for it to work (hence having the screenshots / videos as the main focus)

Apologies for the inconvenience!

Re: [2.0.8][mac] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Posted: Tue Oct 22, 2024 2:06 am
by Loewchen
From the video it does not seem you are able to actually reproduce it, it's more like "if I mess around with it long enough it will crash at some point". If that is accurate it could suggest an issue with your machine itself.
If you find steps performed on one of the saves that reliably (100% of the time) cause it to crash that would be helpful.

Re: [2.0.8][mac] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Posted: Tue Oct 22, 2024 4:47 am
by Aquaholic27
I'm able to reproduce it consistently now!

1. Load save
2. Hover the paste over the right-hand side of the pipes
3. Crash

Re: [2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Posted: Tue Oct 22, 2024 9:50 am
by Lou
Thank you for the reproductions steps. I used those to reproduce this on windows machine, so removed the [mac] tag.

Re: [raiguard][2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Posted: Fri Nov 01, 2024 10:10 pm
by raiguard
Thanks for the report, this has been fixed for the next release.

This was quite difficult to pin down. Essentially, entities within the blueprint were modifying entities outside of the blueprint, but only when the entities inside the blueprint were in a very specific order. Then the entity outside of the blueprint would have a garbage pointer to a now-nonexistent blueprint entity which caused chaos.

Re: [raiguard][2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Posted: Mon Nov 04, 2024 4:24 am
by Aquaholic27
Oh good heavens O.o