Search Issue Tracker

Fix In Review for 2020.2

Planned for 2020.1

Votes

5

Found in

2020.1.0a7

2020.1.0f1

2020.2

Issue ID

1268262

Regression

Yes

[Linux] WebGL build always fails and throws a FileNotFoundException

WebGL

-

How to reproduce:
1. Create and open a new project
2. Press Ctrl+Shift+B to open the "Build Settings" window
3. In the "Platform" section select "WebGL"
4. In the bottom right of the "Build Settings" window press the "Switch Platform" button
5. After the project has switched platform press the "Build" button
6. Wait for the build to finish and observe the Console window

Expected result: The Console outputs that the build has succeeded
Actual result: The Console outputs that the build has failed along with a "FileNotFoundException" type error

Reproducible with: 2020.1.0a7, 2020.1.4f1, 2020.2.0b1
Not reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.0a6

Notes:
1. Reproducible on Ubuntu 18.04
2. Not reproducible on Windows 10

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Support for using IL2CPP sysroot packages has been added to the WebGL build process. If a sysroot package is active in the project, it will be used. This allows Unity to provide a self contained and consistent build environment for Linux, independent of what's installed in the OS.

    Fixed in 2021.1.0a1

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Support for using IL2CPP sysroot packages has been added to the WebGL build process. If a sysroot package is active in the project, it will be used. This allows Unity to provide a self contained and consistent build environment for Linux, independent of what's installed in the OS.

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.