Debugging on a Chrome OS device
Build for Chrome OS
This page contains instructions on how to build your Unity application for Chrome OS. Chrome OS supports the Google Play Store and Android applications which means, to build an application for Chrome OS, Unity actually builds an Android application.
Configure your project to build for Chrome OS
To configure your application to support Chrome OS devices:
- Select File > Build Settings.
- From the list of platforms in the Platform pane, select Android.
Note: If Android is greyed out, set up your project for Chrome OS development.
- Click Player SettingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary. This opens the Project SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary window in the Player tab.
- In the Settings for Android section, expand Other Settings.
- In the Target Architectures section, enable both the ARMv7 and ARM64 properties as well the x86 and x86–64 properties.
- By default, your application can run on Chrome OS devices and Android devices such as phones, tablets, and TVs. If you want to limit the devices that your application can run on, use the Target Devices setting. Phones, Tablets, and TV Devices Only limits your application to run on phones, tablets, and TV devices only. Chrome OS Devices Only limits your application to run on Chrome OS devices only and not all other Android devices.
Build the application
After you configure your project to build for Chrome OS, you can start the build process. The build process for Chrome OS is the same as the one for Android. The only difference is if you want to use the Build and Run option to immediately run the build on a Chrome OS device. On Chrome OS, you must use Android Debug Bridge to connect to the target device. For information on how to do this, refer to Android Debug Bridge for Chrome OS devices. To build your application for Chrome OS, follow the instructions for Building Apps for Android.
Debugging on a Chrome OS device