Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

Official 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

    ChrisFoulds-Unity

    Unity Technologies

    Joined:
    Mar 25, 2021
    Posts:
    2
    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.

    Windowing:
    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. https://chromium.googlesource.com/chromiumos/docs/+/main/developer_mode.md

    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. NotaNaN

    NotaNaN

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

    RichAllen2021

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

    dbirchinall_disced

    Joined:
    Oct 13, 2015
    Posts:
    2
    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

    fastrageguy

    Joined:
    Apr 7, 2021
    Posts:
    2
    Suddenly, school chromebooks do not seem so bad
     
    r31o likes this.
  6. shochet

    shochet

    Joined:
    Dec 17, 2013
    Posts:
    26
  7. r31o

    r31o

    Joined:
    Jul 29, 2021
    Posts:
    384
    The editor will be supported in Chrome OS?
     
  8. davidro_unity

    davidro_unity

    Unity Technologies

    Joined:
    Apr 18, 2019
    Posts:
    22
    @shochet Support for 2019 was released in 2019.4.31f1 and 2020 in 2020.3.17f1.
    @r31o No there are no plans to support the editor natively on Chrome OS.
     
    Last edited: Oct 25, 2021
  9. SuperDuperPooperGames

    SuperDuperPooperGames

    Joined:
    Sep 28, 2017
    Posts:
    47
    - What's the difference between x86 and x86-64? Would the x86-64 chrome support both 32 and 64 bit and thus don't need the x86 version?
    - If one wants to reduce the file size, should the 2 arms be built together for android and the 2 chromes be built together? This is for sideloading not on the play store?
     
  10. davidro_unity

    davidro_unity

    Unity Technologies

    Joined:
    Apr 18, 2019
    Posts:
    22
    x86 is 32 bit Intel. x86-64 is 64 bit Intel.
    x86 will run on both but x86-64 will not run on a machine with a 32 bit only processor.

    All architectures are supported on Chrome OS devices while ARM is only supported on Android phones/tablets.

    In order to support the widest variety of hardware and platforms it is recommended to build for all architectures and select all devices for Target Devices in Player Settings.

    With App Bundle support the Play store will only deliver what is necessary for the users specific device. Google splits it up into smaller deliverables for you. I hope that answers your questions.
     
  11. SuperDuperPooperGames

    SuperDuperPooperGames

    Joined:
    Sep 28, 2017
    Posts:
    47
    Thanks
    - If one wants to reduce the file size, should the 2 arms be built together for android and the 2 chromes be built together? This is for sideloading not on the play store?

    So am asking NOT ON THE PLAY store I'd like to side load.
    Also, the x86_64 is just the 64 bit and not both 32 and 64?
     
  12. davidro_unity

    davidro_unity

    Unity Technologies

    Joined:
    Apr 18, 2019
    Posts:
    22
    We do not officially support side loading. However if you would like an APK for each architecture I would recommend enabling the Player Settings named Split APK's by Target Architecture to create one APK for each.

    Yes, x86_64 is the name for the 64 bit Intel architecture. Code compiled for x86-64 will not run on a 32 bit x86 processor.
     
  13. SuperDuperPooperGames

    SuperDuperPooperGames

    Joined:
    Sep 28, 2017
    Posts:
    47
  14. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    572
    Hi, does Unity ChromeOS support current android plugins that are dropped in the Unity Project as s code? Thanks, Marek.
     
  15. davidro_unity

    davidro_unity

    Unity Technologies

    Joined:
    Apr 18, 2019
    Posts:
    22
    Yes and maybe. ;)

    If the plugins have precompiled native libraries then you may need an update from the plugin creator with support for Android x86 and x86_64.

    But otherwise plugins are expected to function normally on Chrome OS devices.
     
  16. graywaskpeck8

    graywaskpeck8

    Joined:
    Jul 1, 2022
    Posts:
    1
    Unity-ChromeOS-Feature-1200x900.jpg Well That Was Kinda Good:)
     
  17. Rick66

    Rick66

    Joined:
    Jul 19, 2013
    Posts:
    1
    No Chromebook models supported.

    My app was built with Unity 2020.3.36f1 LTS, including the settings for Chrome OS x86 and x86-64 architectures, following the official documentation.

    After uploading to the Google Play Console for Internal Testing, the Device catalog reports that there are 0 supported Chromebook models, but plenty of phone and tablets are supported. Testers have successfully installed the app on phones and tablets but get the message that it’s not compatible with their Chromebook.

    Can you point me to an information source that will help determine why there is no Chromebook support and what to do to remedy that?
     
    Last edited: Aug 3, 2022
unityunity