I am working on an RTS game which syncs the Map scenes. However, the Map scenes may also have Player nodes as children (e.g. bots or premade players). When the server instantiates a Map scene, the Player children are also automatically spawned, which triggers another spawn call on the client, leading to this problem.
The subscenes also don't sync their properties, as can be seen in the MRP
Godot version
v4.0.dev.custom_build [04fac59f3]
System information
Linux x86_64 on 5.15.6-zen2-1-zen
Issue description
I am working on an RTS game which syncs the
Map
scenes. However, theMap
scenes may also havePlayer
nodes as children (e.g. bots or premade players). When the server instantiates aMap
scene, thePlayer
children are also automatically spawned, which triggers another spawn call on the client, leading to this problem.The subscenes also don't sync their properties, as can be seen in the MRP
Server:
Client:
Steps to reproduce
1) Run MRP with
--server
2) Run MRP at the same time without any argumentsMinimal reproduction project
Test14.zip