Jump to content

Vessel loses its tree structure on reroot to clamp-o-tron jr.


Haustvindr

Recommended Posts

Reported Version: v0.1.3.2 (latest) | Mods: none | Can replicate without mods? Yes 
OS: Windows 10 (latest) | CPU: Intel Core i7 7700k | GPU: Asus Strix 4080 | RAM32gb DDR4 3600mhz

 

I was fiddling around with an ion "coffin" type of micro vessel. It has some amount of rotated and displaced parts. Everything is fine on its own in the editor, and can load fine from its save.

But, when changing the root part to a clamp-o-tron jr. docking port, it becomes disjointed in several subassemblies on load. This happens either on loading the vessel in the editor or loading the vessel for launch. When loading in the editor, the parts appear in the ground.

It seems that the code path for saving or loading destroys the tree, but only if the root part is said docking port. It can save and load correctly if the root part is not changed.

I can reproduce this bug every time with this micro vessel, it's not a one-off random one.

Attached:  a zip with the micro vessel with the root elsewhere, and a zip with the micro vessel rerooted to the clamp-o-tron jr.

 

Included Attachments:

Capturadepantalla(82).png.3b0acf50c9db5217f05ea302ef302be2.png

Strollerminitest.zip

Edited by Anth12
Link to comment
Share on other sites

I can confirm that the parts tree gets messed even if the reroot occurs later. Say, you attach the vessel to a launcher as-is, get to orbit and then separate. Upon separation nothing seems wrong even if now the new root is the docking port, but if you save and reload at that point some parts become displaced or disconnected.

I'll try to get some time in the weekend to test with different root parts, maybe it is related to a part family instead of a unique one (e.g. all docking ports instead of just the jr. one).

Link to comment
Share on other sites

×
×
  • Create New...