Search Unity

Unity Google Chrome OS support is now available as of 2021.2.0a14

Discussion in 'Chrome OS' started by ChrisFoulds-Unity, Apr 21, 2021.

  1. ChrisFoulds-Unity


    Unity Technologies

    Mar 25, 2021
    We’re excited to announce initial support for Chrome OS within the Android developer environment. Starting in Unity 2021.2.0a14 Alpha you’ll be able to add Chrome OS as a supported device alongside Android in the Unity Editor.

    Chrome OS has been growing rapidly - Chromebook shipments surpassed 30 million units in 2020. We believe that adding support for Chrome OS devices presents an interesting opportunity for Android developers to further extend their game’s reach.

    There are 2 new Target Architectures that have been added for Chrome OS, x86 and x86-64. Select these, in addition to the existing ARM options, to natively support the full spectrum of Chrome OS devices.

    We’re also working on bringing this functionality to 2020 LTS later in the year.

    You can find the all the details in the official documentation

    A couple things to keep in mind:

    Keyboard and mouse support:
    Best practice is to write your own input controls because your app will receive all mouse and touchpad events. By default, on Chrome OS, an app will miss mouse positional updates (when a button is not pressed) and both mouse or touchpad scrolling events and button presses. By writing your own input controls you create a better user experience and can take full advantage of touchpad events. You can write your own input controls by unchecking the Chrome OS Input Emulation box.
    Chrome OS also supports emulation for basic keyboard and mouse functionality. Depending on your title, the emulation functionality may be sufficient.

    Currently, windowing will be full size only, with re-sizing to come in future releases and updates.

    Monetizing your app:
    Since any game on Chrome OS will go through the Play Store, monetization, including ads and in-app purchases work in the same way.

    Known issues:
    Considering this is launching in our 2021.2 Alpha there are a few known issues we think you should be aware of (please see the release notes and documentation for an exhaustive list).
    • x86 and x86_64 architectures are only supported for running on Chrome OS devices, not any other Android device with an Intel processor.
    • Script debugging and profiling is only supported over WiFi or Ethernet (where available).
    • Profiling and debugging in Android Studio will only work if your target device is in developer mode. See this document for more information.

    We’d also like to get feedback from the community about bugs, and other concerns. Please feel free to start new discussions in our dedicated Chrome OS forum!
    Last edited: Apr 26, 2021
  2. GliderGuy


    Dec 14, 2018
    Whoa... This is big news! This deserves a blog post! :eek:
  3. RichAllen2021


    Jul 19, 2016
    Woot! I'll be downloading this when I've done my training.
  4. dbirchinall_disced


    Oct 13, 2015
    Just seen the blog post, this is amazing news and perfect timing for us. Excited to get working with this.
    davidro_unity likes this.
  5. fastrageguy


    Apr 7, 2021
    Suddenly, school chromebooks do not seem so bad