Search Issue Tracker

By Design

Votes

1

Found in

2020.2.0a5

Issue ID

1230970

Regression

Yes

[Linux editor] empty WebGL project fails building

WebGL

-

-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

  1. Response avatar

    Resolution Note:

    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.

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.