diff --git a/modules/multiplayer/scene_replication_interface.cpp b/modules/multiplayer/scene_replication_interface.cpp index b058bf7a521..7f12fea4bf3 100644 --- a/modules/multiplayer/scene_replication_interface.cpp +++ b/modules/multiplayer/scene_replication_interface.cpp @@ -727,6 +727,7 @@ void SceneReplicationInterface::_send_delta(int p_peer, const HashSet int i = 0; for (const Variant &v : delta) { vptr[i] = &v; + i++; } int size; Error err = MultiplayerAPI::encode_and_compress_variants(vptr, varp.size(), nullptr, size);