Run PUN Object Setup on a completed Ultimate Character Controller character to add its networking components and stable identifiers. The result must be saved as a prefab before the scene Spawn Manager can create it for joining players.

Process the character

  1. Create the character with the standard Character Creation workflow.
  2. Open Tools > Opsive > Ultimate Character Controller > Add-Ons Manager > PUN Multiplayer.
  3. Drag the character into Object Setup > Object.
  4. Select Setup Object.

A character assigned to PUN Object Setup.

The setup traverses the character hierarchy, adds the required PUN components, and places Object Identifier components on character and ragdoll colliders so a remote hit can identify the exact collider.

Network object identifiers added to the character colliders.

Rerun Object Setup after adding, removing, or replacing a character collider. Otherwise the changed collider may not have the identifier expected by remote clients.

Register the character prefab

  1. Create or update a prefab from the processed character.
  2. Open the SingleCharacterSpawnManager created during Scene Setup.
  3. Assign the prefab to Character.

The processed network character assigned to Single Character Spawn Manager.

For per-player character selection, derive from SpawnManagerBase and implement the deterministic GetCharacterPrefab workflow described on the Scene page.

Verify with two clients

Join the same room from two clients. Confirm that each character is instantiated from the registered prefab, that remote colliders can receive hits, and that ragdoll transitions identify the same body parts on both clients.