How do you manage the identities of nodes in multiplayer?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dawkot
:warning: Old Version Published before Godot 3 was released.

How do you set the network identity of a node so that you know whether or not node A on the server and node B on the client are representations of the same thing?

In general, I would say, have the server associate IDs to objects (with auto-increment for example), so you can map IDs to nodes. But I don’t know yet if Godot has something already built-in. Maybe the upcoming network update will have something like that?

Zylann | 2016-11-01 01:16