4a834a1d55
The headless server added the multiplayer-fps game scene as a child node (/root/HeadlessServer/multiplayer-fps/...), causing RPC node paths to include the HeadlessServer/ prefix. Clients expected paths relative to root (/root/multiplayer-fps/...), so every RPC would fail with 'Node not found'. Fix: add the game scene directly to /root/ via call_deferred, making it a sibling of the HeadlessServer node rather than a child. RPC paths now match between server and client.
7 lines
165 B
Plaintext
7 lines
165 B
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://test_connect.gd" id="1_script"]
|
|
|
|
[node name="TestConnect" type="Node"]
|
|
script = ExtResource("1_script")
|