Game bugging himself

when I was making a train at one point the second car broke by itself and moved some objects to the places where they were but from another car. and this happened more than once, this happened a long time ago but it was not serious. by the way undo does not work although up to this point everything was ok. I often launched it for testing. And one more thing, weld container changed too…