Re-enabling RigidBody2Ds makes connecting joints fall apart

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By davids91

Two rigid bodies connected through a joint work as expected, until processing is paused and then re-enabled as so:

get_node("RigidBody2D").set_process_mode(PROCESS_MODE_DISABLED)
get_node("RigidBody2D2").set_process_mode(PROCESS_MODE_DISABLED)
...
get_node("RigidBody2D").set_process_mode(PROCESS_MODE_INHERIT)
get_node("RigidBody2D2").set_process_mode(PROCESS_MODE_INHERIT)

the connecting Joint falls apart as a result, even though node_a and node_b is still printed out correctly.

I experienced this with the latest branch, which I currently need, because of some C++17 features I use in my other projects I use here.