Unity 2021.2.0f1 webgl build failures - emscripten

Hello! Apologies for resurrecting a dead thread–I just wanted to let you know that I’ve run into this error, not running the Unity WebGL build process on a local machine, but in the cloud via github actions.

Edit, 2:53pm Jan 16: As of Unity 2021.2.0 emscripten version is 2.0.19; as far as I can tell this is still true in Unity 2021.2.8.

I can successfully build a WebGL project from my M1 Mac laptop, but can’t from an ubuntu-latest runner on github. Both are targeting a Unity 2021.2.8f1 project.

Here is a link to my failed github actions run:

And here is the specific error from the logs:

##### CommandLine
"/opt/unity/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten/emcc" @"Library/Bee/artifacts/rsp/8995565923215908413.rsp"

.......

##### Custom Environment Variables
EM_CONFIG=/opt/unity/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/.emscripten
EMSDK_PYTHON=python3
EMCC_SKIP_SANITY_CHECK=1
EM_FROZEN_CACHE=1
##### ExitCode
1
##### Output
wasm-ld: error: Assets/Plugins/FMOD/platforms/html5/lib/libfmodstudiounityplugin.bc: machine type must be wasm32 or wasm64
emcc2: error: '/opt/unity/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm/wasm-ld -o Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm /tmp/tmpoe6ehm_sGameAssembly..a  [..... truncated, see link for full ]

........

*** Tundra build failed (389.10 seconds - 0:06:29), 259 items updated, 486 evaluated
Building Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.js failed with output:
wasm-ld: error: Assets/Plugins/FMOD/platforms/html5/lib/libfmodstudiounityplugin.bc: machine type must be wasm32 or wasm64
emcc2: error: '/opt/unity/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm/wasm-ld -o Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm /tmp/tmpoe6ehm_sGameAssembly..a  [... truncated]

.........

(Filename: /home/bokken/buildslave/unity/build/Editor/Mono/Modules/BeeBuildPostprocessor.cs Line: 439)

BuildFailedException: Incremental Player build failed!
  at UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) [0x00165] in /home/bokken/buildslave/unity/build/Editor/Mono/Modules/BeeBuildPostprocessor.cs:556 

Any thoughts? Thank you! --Alex