Version: 2021.3
Language : English
Support user input on Chrome OS devices
Build for Chrome OS

Debugging on a Chrome OS device

While developing an application for Chrome OS, you may find issues that you need to debug on a Chrome OS device. You can use the Unity ProfilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info
See in Glossary
and Managed Debuggers to profile and debug applications respectively on Chrome OS devices.

Chrome OS has networkingThe Unity system that enables multiplayer gaming across a computer network. More info
See in Glossary
restrictions which mean the Unity Profiler and Managed Debuggers can’t automatically connect to Chrome OS devices wireless or through USB connections. Instead, manually connect to the device wirelessly using its IP address. To do this:

Android Debug Bridge for Chrome OS devices

To wirelessly connect ADBAn Android Debug Bridge (ADB). You can use an ADB to deploy an Android package (APK) manually after building. More info
See in Glossary
to a Chrome OS device:

  1. Enable ADB on the device. For information on how to do this, refer to Enable ADB debugging.
  2. Find the IP address of the device. For information on how to do this, refer to Connect to ADB over a network.
  3. In Unity, open Android Build settings.
  4. In the Build settings window, select the Run Device drop-down and then select the <Enter IP> option.
  5. In the window that opens, enter the IP address and port number of the device and select Add. If the device’s port number is 5555, you don’t need to enter it. After Unity successfully connects to the device, it selects the device as the Run Device.

Note: If your device or host machine goes to sleep or loses network connectivity you may need to reconnect.

Support user input on Chrome OS devices
Build for Chrome OS
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961