Dear Unity Developers,
We are excited to announce that the new experimental Netcode Profiler Modules in Netcode for Entities (com.unity.netcode@1.8.0) are now available! Please note that these new modules require Unity 6 or newer.
New Profiler Modules Overview
We are introducing two new Netcode Profiler Modules, one for the client and one for the server, which bring all the diagnostic features of the old web profiler and more directly into the familiar Unity Profiler window.
This integration creates a new workflow for optimizing your multiplayer games, organized into three distinct tabs:
- Frame Overview: Provides a high-level summary of network activity for each frame.
- Snapshot Overview: This tab provides a detailed breakdown of your network data via a tree view that lists all ghost types and their component types. For each item, you can inspect important metrics like size, instance count, and compression efficiency, enabling you to identify the most expensive ghost types in your simulation.
- Prediction and Interpolation: A specialized view for debugging client-side prediction and interpolation.
How to Enable and Use the Profiler Modules
As this feature is experimental, it is currently disabled by default. To enable it, please follow these steps:
- Ensure your project is using Unity 6 or a newer version. These modules are not compatible with older versions of the editor.
- Go to Project Settings > Player > Other Settings.
- Find the Scripting Define Symbols field.
- Add
NETCODE_PROFILER_ENABLEDto the list. - After the editor recompiles, you can open the Profiler via Window > Analysis > Profiler, select the “Client World” and “Server World” modules from the dropdown, and press Record during a play session to begin capturing data.
These new Profiler Modules are currently in an experimental phase to gather early feedback. A full, stable release is planned alongside the release of Unity 6.3 and will be compatible with all Unity 6.x versions.
Important Note for Rider Users
Rider users may encounter an exception when using the Profiler due to a known issue with Rider’s experimental Unity Profiler integration.
If you experience this, you can resolve it by disabling this integration in Rider’s settings. Please follow the instructions provided in the official JetBrains documentation to disable this feature: Unity Profiler Assistance in Rider.
We Want Your Feedback
Your feedback is invaluable to us as we work to improve this feature. We encourage you to share your feedback, questions, and experiences in this thread.
We are especially interested in hearing:
- How does the new integrated workflow feel compared to the old web profiler?
- Is the data presented in the Snapshot View clear and easy to navigate?
- Are there any critical metrics or visualizations you feel are missing?
Your input will help guide the future of multiplayer development in Unity and is carefully reviewed.
Stay tuned for further updates and announcements as we continue to enhance and expand our multiplayer offerings.
The Netcode for Entities Team
