Network Debug Component
The plNetworkDebugComponent provides in-game visualization of network state for debugging purposes. It renders text overlays showing the network ID, replication status, and network role of the game object.
Overview
Add this component to any networked game object to see its network information rendered in the viewport. This is useful during development to verify that objects are being replicated correctly, identify authority, and spot replication issues.
Properties
Visualization Toggles
Property | Type | Default | Description |
|---|---|---|---|
|
|
| Display the object's network ID |
|
|
| Display whether the component is dirty (pending replication) |
|
|
| Display the network role (Server, Client, etc.) |
Display Settings
Property | Type | Default | Description |
|---|---|---|---|
|
|
| Scale of the debug text |
|
|
| Offset from the object's position where text is rendered |
Colors
Property | Type | Default | Description |
|---|---|---|---|
|
| Lime Green | Color of debug text on the server |
|
| Cornflower Blue | Color of debug text on clients |
|
| Orange | Color used when the component is dirty |
Usage
Add
plNetworkDebugComponentto any game object that has aplNetworkComponent.Run the game in play mode.
Network information is rendered as text overlays above each object.
The component does not replicate any data itself -- it is purely a local visualization tool. Its NetworkSerialize() and NetworkDeserialize() are no-ops.