Version: 2019.1
Converting a single-player game to Unity Multiplayer
The Multiplayer High Level API

Debugging Information

Note: UNet is deprecated, and will be removed from Unity in the future. A new system is under development. For more information and next steps see this blog post and the FAQ.

Unity provides tools to get information about your game at run time. This information is useful for testing your multiplayer game.

When your game is running in the Editor in Play mode, the Network Manager HUD Inspector shows additional information about the state of the network at runtime. This includes:

  • Network connections

  • Active GameObjects on the server which have a Network Identity component

  • Active GameObjects on the client which have a Network Identity component

  • Client peers

In Play Mode, the Network Manager HUD component displays additional information about the state of the game and the GameObjects that have spawned.
In Play Mode, the Network Manager HUD component displays additional information about the state of the game and the GameObjects that have spawned.

Additionally, the Network Manager preview pane (at the bottom of the Inspector window) lists the registered message callback handlers.

The Network Manager HUD component preview pane, showing registered callback handlers.
The Network Manager HUD component preview pane, showing registered callback handlers.
Converting a single-player game to Unity Multiplayer
The Multiplayer High Level API
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961