Search Issue Tracker
By Design
Votes
1
Found in
2020.2.0a5
Issue ID
1230970
Regression
Yes
[Linux editor] empty WebGL project fails building
-e: see title, project fails building throwing errors
-tested on Ubuntu 18.04.4 LTS
--fails with 2019.3.7, 2020.1b1, 2020.2a5
-repro:
--create new project
--switch platform to WebGL
--start a build
--NOTICE it fails with an error
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
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
- Crash on Scripting::LogException when async HTTP callback executes after scripting domain teardown
Resolution Note (2020.1.X):
WebGL uses IL2CPP to build projects. IL2CPP requires LLVM >=6.0 to be installed (not installed by default on some Linux distributions), just as it requires MSVC on Windows and Xcode on Mac. There is work being done to have a package that includes LLVM and other necessary tools so it doesn't depend on what's installed in the system. There is also work being done to improve the error messaging when the build fails because of missing compiler, and update the documentation with system requirements.
For now, installing LLVM is a requirement to build WebGL.