You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing MultiplayerAPI.multiplayer_peer resets tracked nodes too. After restarting server using code below, MultiplayerSpawners stop replicating existing nodes.
multiplayer.multiplayer_peer.close()
var peer := ENetMultiplayerPeer.new()
peer.create_server(port)
multiplayer.multiplayer_peer = peer
When a client joins after restarting server, host logs these errors for each old node:
E 0:00:22:0468 _make_spawn_packet: Condition "!nid" is true. Returning: ERR_UNCONFIGURED
<C++ Source> modules/multiplayer/scene_replication_interface.cpp:479 @ _make_spawn_packet()
E 0:00:22:0468 _send_raw: Condition "!p_buffer || p_size < 1" is true. Returning: ERR_INVALID_PARAMETER
<C++ Source> modules/multiplayer/scene_replication_interface.cpp:462 @ _send_raw()
The text was updated successfully, but these errors were encountered:
Faless
changed the title
Changing MultiplayerAPI.multiplayer_peer resets tracked nodes too. After restarting server using code below, MultiplayerSpawners stop replicating existing nodes.
Changing multiplayer_peer stops replicating spawned nodes
Jan 14, 2024
Originally posted by @masterthdev in #80701 (comment)
Changing MultiplayerAPI.multiplayer_peer resets tracked nodes too. After restarting server using code below, MultiplayerSpawners stop replicating existing nodes.
When a client joins after restarting server, host logs these errors for each old node:
The text was updated successfully, but these errors were encountered: