Skip to content

Commit 7729d8d

Browse files
Merge develop-3.x.x into feat/cli-commands-mtt-15537
2 parents a391b2e + 3c8364b commit 7729d8d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎com.unity.netcode.gameobjects/Documentation~/ghostobjects.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ When the network prefabs list contains a hybrid object, Unity Netcode drives the
5151

5252
For more information about tick rates in Netcode for GameObjects, refer to [Ticks and update rates](learn/ticks-and-update-rates.md).
5353

54+
The change in physics simulation rate is used to enable user prediction. If the change in physics simulation rate causes issues for your game, you can disable Unity Netcode driving the physics simulation by setting the **Physics Run Mode** on the `NetcodeConfig` asset to **User Controlled**. Note that under this configuration, client-side prediction will not work.
55+
5456
## Parent replication
5557

5658
The **Parent Replication** setting on the **GhostObject** component controls which package synchronizes the parent GameObject of a hybrid object.
@@ -71,6 +73,9 @@ Hybrid objects have the following limitations:
7173
- Object pooling: Hybrid objects aren't compatible with `INetworkPrefabInstanceHandler`, so you can't use [object pooling](advanced-topics/object-pooling.md) with hybrid objects.
7274
- Client authority: Unity Netcode doesn't support the client authoritative motion model. You can convert a NetworkObject that uses an owner-authoritative NetworkTransform into a hybrid object, but the owner no longer controls its transform, because the NetworkTransform component stops synchronizing data. To move the converted object, use server-authoritative motion or prediction instead. `NetworkVariable`s on hybrid objects can still use owner write permissions.
7375

76+
> [!NOTE]
77+
> Client-side prediction is not compatible with client authoritative physics. Unity Netcode leverages the physics simulation to minimize mis-predictions. This will result in faster than expected physics solving for all GameObjects whenever any GhostObject is being predicted.
78+
7479
## Create and remove hybrid objects
7580

7681
To create a hybrid object, add the missing component to an existing network prefab:

0 commit comments

Comments
 (0)