Spawn Prefab with NetworkBehaviour on Children

When I spawn a prefab that has a NetworkBehaviour, it works great, but none of the NetworkBehaviours on its children are spawned with it. The children exist in the scene on both server and client, but RPCs on these children trigger a warning:

ClientRpc call on un-spawned object

When I check the NetworkIdentity on the children, they are neither IsServer nor IsClient. What’s the best way to link child network identities on a spawned prefab?

Just encountered the same issue. I can work this around, but this would be tiresome and messy.

1 Like

I’m facing the same problem… The solution for me is to spawn the child after the root and make the link your self but it’s not sexy…