Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
12
Found in
2020.1.0a7
2020.1.0f1
2020.2
Issue ID
1268262
Regression
Yes
[Linux] WebGL build always fails and throws a FileNotFoundException
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
Comments (2)
-
Taalon
May 28, 2022 03:52
I Upgraded to LTR 2021. Working through unity essentials. Tried to publish simple scene -- no control; just a ball rolling. None of the assets were included. Only specified lighting and skybox shows up. Pretty shitty.
-
JDFunz
Nov 13, 2020 16:01
This really needs to be fixed, its halted development on a project of mine.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
Resolution Note (fix version 2021.1):
WebGL builds on Linux will now use the version of 7za included with the Editor instead of the system gzip. This prevents the gzip possibly being called with invalid parameters.
Fixed in 2021.1.0a9
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 2020.2.2f1