Cannot build WebGL on 2018.2.13f1 il2cpp.exe

Hi, I’m using docker image and CI to create builds. Windows building works. WebGL - not. It gets failed on

Failed running /opt/Unity/Editor/Data/il2cpp/build/il2cpp.exe
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: error: unknown argument: '-disable-O0-optnone'

Help! :slight_smile: Full log attached

3831061–323245–Fishing_Build_branch_66.rar (257 KB)

It looks like the relevant error message is:

error: unknown argument: ‘-disable-O0-optnone’

It seems something is passing Emscripten a bad argument. I’m not sure why that happens though. Does the build of this Unity project succeed locally for you?

It does builds great on my Windows PC on Unity 2018.2.4f1 (64-bit). I can’t check linux local building, sorry :frowning:

BTW I had the same issue on 2018.2.7f1. I’ve upgraded to 13f1 hoping that it would be fixed.