Type ID Assignment

It’s important to understand how replicators find corresponding game objects and prefabs on remote clients. Each replicator is assigned a unique identifier called Type ID which can be checked in the inspector. The IDs for the same GameObjects should be the same over all the clients.

The IDs of the scene replicators are stored in the scene itself. The IDs of the prefab replicators are stored in the prefabs themselves, but they also get added to a specialized registry called StrixReplicatorSettings. The registry is stored in the Resources/Strix/StrixReplicatorSettings asset file. If you select it in the editor, you’ll see in the inspector the list of all registered prefabs.

To check the Type ID of a specific replicator from code, you can use objectType property of the StrixReplicator class.