Version: 2021.3
言語: 日本語
Support user input on Chrome OS devices
Building your Chrome OS application

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 Profiler and Managed Debuggers to profile and debug applications respectively on Chrome OS devices.

Chrome OS has networking 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 ADB to a Chrome OS device, you first need the device’s IP address and port. To find this:

  1. Open the Settings app and select Network in the sidebar.
  2. Select the active network interface.
  3. If the device uses a wired connection, the IP address and port is visible in the window. If the device uses a wireless connection, select the SSID the device is connected to. In the details, you can see the IP address.

The steps to connect ADB to a Chrome OS device using an IP address are the same as for Android. To do this, see Connect to a device over Wi-Fi (Android 11+) and use the IP address you acquired above.

ノート: デバイスやホストマシンがスリープ状態になったり、ネットワーク接続が失われた場合は、再接続が必要な場合があります。

Support user input on Chrome OS devices
Building your Chrome OS application