Game mode: Singleplayer
When building large or tall structures sometimes the game will pull stability not from the best attached piece. For example, if you have 2 foundation pieces with 4 spaces in between and place 4 ceiling tiles between them, the stability should go 100, 80, 60, 60, 80, 100. But instead, the game will occasionally do 100, 80, 60, 40, 20, 100. This bug oddly seems to leave ceiling tiles placed above that 20 stability piece to be at a stability of 0. So it will look fine, but on reload of the game it will get instantly destroyed even when it is attached to a foundation that has 100 stability.
Sometimes I am able to fix it by demolishing all nearby pieces and replacing them but most of the time there is nothing I can do and have to destroy the entire structure.
Steps on how to reproduce issue: