Hey there! I've got a Portal object contained in it's own scene, pictured below.

It's a Area2D object with a rectangle shape, and a signal for on_body_entered, which in the script has been named onBodyEntered.
`extends Area2D
export var targetScene: PackedScene
func onBodyEntered(body):
get_tree().change_scene_to(targetScene)`
I have two scenes, each set up almost exactly the same. I put one portal object into Scene 1 and loaded Scene 2 into the targetScene property. Works fine! I then put a portal in Scene 2 and loaded Scene 1 into targetScene. Boom, I get this error...
drivers/unix/net_socket_posix.cpp:190 - Socket error: 10054
But I don't know how to fix it. Can anyone assist?