# Prediction in GameObject Netcode - GhostObjects Released

**URL:** <https://discussions.unity.com/t/prediction-in-gameobject-netcode-ghostobjects-released/1741239>\
**Category:** Multiplayer & Networking Product Updates\
**Tags:** Conversation, Roadmap, Releases, Official\
**Created:** [November 5, 2026, 10:34pm UTC](https://discussions.unity.com/t/prediction-in-gameobject-netcode-ghostobjects-released/1741239 "2026-11-05T22:34:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![SamuelBellomoUnity](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/samuelbellomounity/32/101249_2.png) [@SamuelBellomoUnity](https://discussions.unity.com/u/SamuelBellomoUnity)\
**Post date:** [November 5, 2026, 10:34pm UTC](https://discussions.unity.com/t/prediction-in-gameobject-netcode-ghostobjects-released/1741239/1 "2026-11-05T22:34:20Z")

</div>

> With recent changes to Discussions, don’t forget to subscribe to the multiplayer product update category to get updated on our announcements!

We’re super excited to announce the release of the first iteration of our GhostObject APIs, available to both Netcode for Entities and Netcode for GameObjects along with a package rename!

These releases come with a slew of new multiplayer features, previously only available to Netcode for Entities flows and now available to GameObjects. This release also means that as of package version 7.2.0, Netcode for Entities is becoming Unity Netcode. The technical name of the package remains unchanged (com.unity.netcode).

This renamed version of the package includes the full release of the `GhostObject` API, allowing you to create real-time multiplayer games using GameObject workflows, while benefitting from Netcode for Entities’ features. Previously, if you wanted client prediction for dealing with lag and multiplayer performance in your Unity game, you had to use DOTS and ECS with Netcode for Entities. If you’re used to working with GameObjects, then this was a non-trivial shift in how you create games. Netcode for Entities has a spread of cool features like prediction, relevancy, importance scaling, delta compression, quantization, server rewind (lag compensation), and Bursted jobs for serialization that require using ECS and have been unavailable for use with GameObjects.

With this release, you can now attach GhostObjects to your GameObjects and add GhostBehaviours containing PredictionUpdate() methods, which interact with your rolled back/quantized/delta compressed GhostFields, to allow you to write predicted, scalable multiplayer code.

```auto
public partial class MyCharacter : GhostBehaviour
{
    GhostField<int> m_MyHealth;

    public override void PredictionUpdate(PredictionUpdateContext context)
    {
        var speed = 10;
        if (m_MyHealth.Value < 10) // rolled back to the appropriate tick
            speed = 2;
        transform.position.x += speed * context.TickedDeltaTime; // transforms are automatically rolled back.
        // Netcode.DeltaTime is also availble
    }
}

```

Those GhostFields rely on the same underlying implementation as Netcode for Entities, with quantization, delta compression, rollbacks, using the same jobified, Bursted serialization pipeline.

This is a small sample of what you can now do. For the full feature set, please see our documentation [here](https://docs.unity3d.com/Packages/com.unity.netcode@7.2/manual/ghostobject/ghostobject.html). For those hearing about this for the first time, you can check what we’ve been up to in more detail in our dev log entries[here](https://discussions.unity.com/t/prediction-with-gameobjects-coming-to-netcode-for-entities/1698666).

To try this new version, download the latest Unity 6000.7.0 version and update Netcode to 7.2.0. To get all the performance advantages, make sure to enable burst ( **Jobs** \> **Burst** \> **Enable Compilation** ). There will be an initial compilation time, but following updates to managed code should be relatively quick, Burst will ignore those.

## **Package versions**

Netcode for Entities package version 7.2.0 officially renames the package to Unity Netcode. Unity Netcode provides a base for the future of netcode in Unity. The technical name of the package remains unchanged (com.unity.netcode). It’s compatible with Unity 6000.7+ and contains the GhostObject APIs.

In version 3.0.0, Netcode for GameObjects introduced a dependency on Unity Netcode. The new 3.2.0 release of Netcode for GameObjects officially supports hybrid sessions where Netcode for GameObjects and Unity Netcode can be used together in the same session, and on the same GameObject.

## **Since our last dev log: Unity Netcode 7.2.0**

Lots has happened since our last dev log entry. We’ve added features, we’ve stabilized things, we’ve renamed a bunch of APIs. You can read our docs [here](https://docs.unity3d.com/Packages/com.unity.netcode@7.2/manual/ghostobject/ghostobject.html) with a new section on `GhostObjects`. Samples are available [here](https://github.com/Unity-Technologies/EntityComponentSystemSamples/tree/master/NetcodeSamples/Assets/GameObjectSample).

We’ll detail more in upcoming dev logs, but for now a few note-worthy items since the last dev log:

- Unity 6000.7 includes Physics improvements to help predicting and rolling back Rigidbodies.

- We added an option to enable delayed spawning (in addition to the normal direct GameObject instantiation flows).

- Improved prefab management. Netcode now handles gracefully a client skipping loading a prefab.

- Predicting and syncing parent changes.

- Enabled nested GhostBehaviours and made a few changes to simplify Netcode in general like making partial ticks optional or automatically enabling state replication when connecting.

To improve general onboarding, this release also includes a few changes to our defaults. Please check out our changelog[here](https://docs.unity3d.com/Packages/com.unity.netcode@7.2/changelog/CHANGELOG.html) and upgrade guide[here](https://docs.unity3d.com/Packages/com.unity.netcode@7.2/manual/upgrade-guide.html) for more details.

## **How this fits with Netcode for GameObjects**

In parallel to this release, Netcode for GameObjects releases its 3.2.0 version, allowing you to use GhostObjects with your existing NetworkObjects. When you add both a GhostObject and a NetworkObject to the root of a GameObject, you can now remove your NetworkTransform and make use of the jobified, Bursted, and delta compressed transform syncing from GhostObject. This will allow you to save on CPU and bandwidth for your existing server-driven transform syncing, while keeping your existing NetworkObject based flows.

In a hybrid session, your NetworkManager sets up the Unity Netcode connection for your project, which means you connection flows should continue working, while Netcode for GameObjects shares the same connection with Unity Netcode. This does mean that the initial project setup differs based on whether you use Unity Netcode standalone, or in conjunction with Netcode for GameObjects and a NetworkManager.

For more information on how to port your existing project to these new features from previous Netcode for GameObjects versions, please refer to the doc [here](https://docs.unity3d.com/Packages/com.unity.netcode.gameobjects@3.2/manual/ghostobjects.html).

## **Next steps**

We’ll continue work on performance and feature improvements. Our current to-do list includes object pooling, stabilizing CorePhysics2D support (hidden behind a define in 7.2.0), adding support for more 3D physics primitives like character controller and colliders, more RPC targeting capabilities, prediction error smoothing, relevancy APIs on top of ECS APIs, in-scene placed objects (aka prespawn), and utility callbacks like OnServerStarted and OnValueChanged for GhostFields.

### Unity 7

We’ll also be looking at putting the two Netcode packages’ code bases in the same package in the Unity 7 timeline. This is NOT a deprecation of any one feature set, more an administrative first step to help with merging the two code bases.  
With [ECS for all](https://discussions.unity.com/t/ecs-development-status-december-2025/1699284), we’ll also look into handling the new Entities flows for Unity 7+. We’ll keep making our upcoming package releases for 6000.7+ and 7000.x+, compatible with both editor’s current way to handle ECS.

This is the first iteration and we need your feedback! We’ll continue improving this alongside you, please help us shape our next releases.

We’re incredibly excited to see what you will build with this!

---

_[View the full topic](https://discussions.unity.com/t/prediction-in-gameobject-netcode-ghostobjects-released/1741239)._
