Search Issue Tracker

Fixed in 2022.1.X



Found in






Issue ID




[ChromeOS] When Patch and Patch And Run build options are used there is no clear error message why the build fails



How to reproduce:
1. Create a new project
2. Open the Build Settings and switch the Target Platform to Android
3. Enable the Development Build option
4. Open the Player Settings window
5. Under the Other Settings tab switch the backend support to IL2CPP and enable the Chrome OS build support (x86/x86-64)
6. In the Build Settings window select a ChromeOS device in the Run Device drop-down menu (If it is not listed connect via wifi and ADB command)
7. Click "Patch" or "Patch And Run"

Expected results: When the build process fails an error message is thrown informing that "Patch" or "Patch And Run" option is not supported on the Chome OS platform
Actual results: Build error messages are thrown, but there is no clear explanation on what exactly is failing

Reproducible with: 2020.3.19f1, 2021.1.22f1, 2021.2.0b13, 2022.1.0a8
Could not test with: 2019.4.30f1(Chrome OS support is not yet available)

1. This issue can be identified by inspecting the Detailed Log in the error message which informs about failed deployment to the target device. One of the last entries in the log should be - "run-as: run-as is disabled from the kernel commandline". The built Player will also throw a "Failed to load ''" error on launch

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.