How to address JavaScript erro in UnityLoader.ja

Hello,
I have created a WordPress Plugin “HoweScape Unity3d WebGL”. If I use the development build it works. If I use the Release build I get a couple of different errors messages. I get a pop up box with:

“An error occurred running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:
SyntaxError: illegal character”

When I look at the JavaScript Console I see the following Error:

Invoking error handler due to
SyntaxError: illegal character

I put the UnityLoader.js into NotePad++ with the pretty print option to decompress the javascript.
I repeated the test. The error is on line 167 column 65 The code which starts there is :

return Module.errorhandler && Module.errorhandler(e, t, n) || (console.log("Invoking error handler due to
" + e), “function” == typeof dump && dump("Invoking error handler due to
" + e), didShowErrorMessage || -1 != e.indexOf(“UnknownError”) || -1 != e.indexOf(“Program terminated with exit(0)”)) ? void 0 : (didShowErrorMessage = !0, -1 != e.indexOf(“DISABLE_EXCEPTION_CATCHING”) ? void alert(“An exception has occurred, but exception handling has been disabled in this build. If you are the developer of this content, enable exceptions in your project’s WebGL player settings to be able to catch the exception or see the stack trace.”) : -1 != e.indexOf(“Cannot enlarge memory arrays”) ? void alert(“Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings.”) : -1 != e.indexOf(“Invalid array buffer length”) || -1 != e.indexOf(“Invalid typed array length”) || -1 != e.indexOf(“out of memory”) ? void alert(“The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings.”) : void alert("An error occurred running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:
" + e))
}

The error is at the"console.log" statement. Anyone have any suggestions for how to address this problem
Thanks

Here is a solution: Unity WebGL – An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: SyntaxError: missing ; before statement – Wiedza

#MVPBUZZ

I’m having the same problem, when I make a small version up to 85mb, the project works. When I upload a larger version of 300 deny this error, I use Firebase.