Uncaught abort(139) at Error with WebGL on itch.io

I had my game as webGL build at itch.io and everything was fine, but now after uploading the new build, I receive the error in the image. I’ve also uploaded the development build and got the error below.
Imgur: The magic of the Internet

This is very frustrating, I saw other threads but no solution to my case.

Can you help me?

The error in the second image usually means your server is set to have compression enabled but the (unity) file is uncompressed. I got that error on development builds until I realized (and @Marco-Trivellato confirmed) that development builds are always uncompressed regardless of what you’ve set in the player settings.

So…turn off compression on your server and upload the development build again. Then you can potentially have better information on the original error.

The thing is, I am uploading the build to itch.io so I do not have control over the server compression…

I disabled compression in Unity settings, this is what I got from the development build:

I hope it shines some light over what’s happening here.

some function called by BuyCoal.Start() does not exist. What does that function do?

Not sure, this is the BuyCoal.Start():

void Start ()
{
i = 0;
j = 0;
coalcost = 250;
train.enabled = false;
coal_stock = 0;
countdown = 4;
coal_stock_countdown.text = countdown.ToString();

if (SceneManager.GetActiveScene().name == “scene1”)
rectangle.enabled = true;
else
rectangle.enabled =false;
}

I exported the game as a PC build and works fine, I only have trouble with the WebGL build…

It could still be a stripping (il2cpp) “problem”. Maybe post the whole class? That function does seem pretty harmless though.