WebGL build failing! Uncaught abort(65) at Error

Hi! I am stuck trying to make a WebGL version of my game, and have no idea how to proceed. My game runs just fine in the editor, and in a Windows build. However, when I try a WebGL build, I get this error when trying to run it:

An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: Uncaught abort(65) at Error

I’ve tried making WebGL builds with 5 of my other games, and they all work perfectly, but this one doesn’t for some reason, and I have no idea how to debug what in the game might be causing this, and only on WebGL… Any help would be greatly appreciated! Thank you so much

The error in the console was:

Uncaught abort(65) at Error
   at jsStackTrace (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:22313)
   at Object.stackTrace (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:22484)
   at Object.onAbort (https://website.com/GameDev/Build/UnityLoader.js:4:11118)
   at abort (blob:https://website/8981e761-32ea-40ba-8854-9b95183db599:8:494595)
   at <anonymous>:wasm-function[52144]:0x10b1ebf
   at <anonymous>:wasm-function[26695]:0xb76333
   at <anonymous>:wasm-function[28323]:0xbdb6b9
   at <anonymous>:wasm-function[24823]:0xb4602b
   at dynCall_iiiii (<anonymous>:wasm-function[52032]:0x10b152a)
   at Object.dynCall_iiiii (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:467259)
   at invoke_iiiii (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:336780)
   at <anonymous>:wasm-function[50157]:0x105d65f
   at <anonymous>:wasm-function[49614]:0x1045eef
   at <anonymous>:wasm-function[4646]:0x1c61a4
   at <anonymous>:wasm-function[4645]:0x1c60cd
   at <anonymous>:wasm-function[10612]:0x3fe62d
   at <anonymous>:wasm-function[10610]:0x3fe51e
   at <anonymous>:wasm-function[10660]:0x4009d4
   at <anonymous>:wasm-function[10650]:0x3ffc48
   at <anonymous>:wasm-function[7963]:0x2d4412
   at <anonymous>:wasm-function[10634]:0x3ff5aa
   at <anonymous>:wasm-function[4966]:0x1e56cd
   at <anonymous>:wasm-function[4964]:0x1e55cd
   at <anonymous>:wasm-function[9644]:0x3acc4b
   at <anonymous>:wasm-function[9636]:0x3ab200
   at <anonymous>:wasm-function[9637]:0x3ab5ba
   at <anonymous>:wasm-function[9632]:0x3aaad8
   at <anonymous>:wasm-function[10887]:0x419b5f
   at <anonymous>:wasm-function[10886]:0x41984a
   at <anonymous>:wasm-function[10884]:0x419731
   at <anonymous>:wasm-function[10880]:0x419116
   at <anonymous>:wasm-function[10874]:0x418c6c
   at <anonymous>:wasm-function[10740]:0x406c46
   at _main (<anonymous>:wasm-function[10739]:0x4067d5)
   at Object._main (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:454847)
   at Object.callMain (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:493383)
   at doRun (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:494059)
   at run (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:494227)
   at runCaller (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:493002)
   at Object.removeRunDependency (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:28461)
   at blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:7189
   at doCallback (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:101083)
   at done (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:101221)
   at done (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:84164)
   at Object.storeLocalEntry (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:82624)
   at blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:84396
   at IDBRequest.<anonymous> (blob:https://website.com/8981e761-32ea-40ba-8854-9b95183db599:8:82974)

Enable exceptions on project settings. Thus we can see real error message.

2 Likes