• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by 14ercooper · Jun 03, 2020 at 10:10 PM · editorbuildwebglbuild-error

WebGL Build Fails il2cpp.exe Linux

When attempting to build to WebGL from my Linux system, Unity gives several errors before returning that the WebGL build failed.

Some of the things I have tried:

  • Ensuring that the file path is only ASCII characters

  • Enabling development build

  • Disabling the stripping of engine code

  • Reinstalling Unity and WebGL support

  • Installing the ncurses5-compat-lib package

The error appears to be arising out of libtinfo not existing.

The same errors appear on all of 2018.4.23f1, 2019.3.15f1, and 2020.2.0a13. My system is running Arch Linux.

The two errors, leading into the build failed message, are as follows: (externally linked for ease of reading):

Error 1

Error 2

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by thefinaldegree · Dec 02, 2020 at 12:35 AM

I had the same issue on Ubuntu 20.04, after a bit of digging around I found a small thread from 2019 that suggested I installed 'libtinfo5'. (command to do so for Ubuntu below, just incase)

 sudo apt install libtinfo5

This seems to have fixed the issue and allows me to build WebGL just fine.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image 14ercooper · Dec 02, 2020 at 01:40 AM 0
Share

This also seems to have fixed my issue, installing the libtinfo5 package (which seems to be a dependency that just isn't documented anywhere - and that package name isn't listed anywhere obvious when searching for how to install it either).

avatar image
0

Answer by Gubovica · Jan 16, 2021 at 07:06 PM

sudo apt-get install python fix it guys!!!!!!!!!!!!!!!!!!!!!!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image speedex505 · Jan 23, 2021 at 04:58 PM 0
Share

It does not fix it for me. I am using pyenv python and not the system python. Installing libtinfo5 worked for me.

avatar image
0

Answer by dginovker · Sep 26, 2020 at 01:59 AM

Also having this issue on Arch Linux. For what it's worth, installing Wine did not fix the issue for me.

Edit: I get slightly different errors on 2020.1.6f1 than 2019.4.11f1 (the latter matching OP). Will try the beta build next

Edit2: 2020.2.0b2.3094 has a similar issue as well (latest beta as of writing). Complains another .exe did not run properly.

Edit3:

I installed Ubuntu to test it with a supported distro - 2019.4.11f1 (LTS) has the same issue, and 2020.1.6f1 has the "newer" issue I mentioned in my other comment as well.

Searching around though it's not just Linux, but the fixes mentioned in other threads didn't work for me (clearing cache, preventing non-ascii characters).

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

189 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

GUI not working in Build? 1 Answer

[FIXED] WebGL export messes project up. (C#) 0 Answers

Can't build webgl project at all. 0 Answers

Win32Exception for Android signed build on Unity 2017.3.1 Mac 3 Answers

WebGL doesn't build 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges