virtualx-engine/modules/multiplayer
Fabio Alessandrelli 90d5d26026 [MP] Partially revert cache cleanup, track paths as fallback
Cleaning up remote NodePath cache is not trivial since the visibility
API allows for certain nodes to be despawned (and re-spawned) on some
peers while being retained in the authority.

This means that from the server point of view, the node has not changed,
and the path simplification protocol won't be run again after
respawning.

While we can track this information for synchronizers via the
replication API, we can't easily track this information for potential
child nodes that use RPCs (I'm convinced it is doable, but we need to
track the whole dependency tree which would require some more complex
refactoring).

This commit partially reverts some of the cache cleanup logic to always
retain remote IDs, and adds a NodePath lookup fallback when the ObjectID
is invalid.
2024-07-31 19:32:32 +02:00
..
doc_classes Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01:00
editor [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
config.py
multiplayer_debugger.cpp Replace error checks against size with is_empty 2024-02-09 12:50:15 +01:00
multiplayer_debugger.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
multiplayer_spawner.cpp Merge pull request #91084 from OwenAEdwards/master 2024-06-21 10:14:06 +02:00
multiplayer_spawner.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
multiplayer_synchronizer.cpp Instantiate a replication config on synchronizer creation 2024-06-20 01:14:50 +02:00
multiplayer_synchronizer.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
register_types.cpp Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_cache_interface.cpp [MP] Partially revert cache cleanup, track paths as fallback 2024-07-31 19:32:32 +02:00
scene_cache_interface.h [MP] Partially revert cache cleanup, track paths as fallback 2024-07-31 19:32:32 +02:00
scene_multiplayer.cpp Fix removing connected peer during disconnection 2024-02-25 18:44:02 +01:00
scene_multiplayer.h Fixed binary representation typo in comment 2024-02-14 07:59:12 -06:00
scene_replication_config.cpp Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
scene_replication_config.h [MP] Fix replication config reload error 2024-03-03 11:13:00 +01:00
scene_replication_interface.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
scene_replication_interface.h Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
scene_rpc_interface.cpp [MP] Avoid unnecessary internal ref/unrefs 2023-10-10 14:42:54 +02:00
scene_rpc_interface.h [MP] Avoid unnecessary internal ref/unrefs 2023-10-10 14:42:54 +02:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00