Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 1ff3cb0

Browse files
DSchroerjabbacakes
andauthored
chore: spawning note (#1324)
Co-authored-by: Amy Reeve <[email protected]>
1 parent b2c10f6 commit 1ff3cb0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/learn/distributed-authority-quick-start.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ public class ConnectionManager : MonoBehaviour
150150
}
151151
```
152152

153+
:::note
154+
155+
It's important to wait until `OnClientConnectedCallback` has been triggered before spawning objects. Spawning objects early will result in errors and unexpected behaviour.
156+
157+
:::
158+
153159
2. Add the `ConnectionManager` component script you created to the *NetworkManager* object.
154160
![add connection manager](/img/learn/distributed-authority-quick-start/create-connection-manager.png)
155161

0 commit comments

Comments
 (0)