WebGL build fails on Fedora Linux

I can’t seem to make a WebGL build.

I’m using Fedora 38, installed Unity 2022.3.0f1 and 2022.2.12f1, both versions behave the same way.

I’m trying to build an empty 3D project with a sample scene included in the build. It just gives me this obscure error:

This looks suspiciously similar to the MacOSX issue where Apple removed Python2 support and Unity was relying on it.

Has your Fedora distro perhaps removed python2? I had to go to a particular 2020 LTS version to have python2 built into Unity.

Also, just generally, anytime you go beyond LTS you are an unpaid test pilot.

1 Like

No, I have python2 in my path (version 2.7.18). Maybe it’s the wrong version?

I’ll install 2021 and 2020 LTS and check if it’s also broken.

The other thing is the distro itself. I think Unity only supports a few Linux distros, but since Fedora is fairly major there may be some googling you can do to make things happy.