Firefox: SyntaxError: JSON.parse

Dear All,

Please, advise.
After building project I am facing the error in firefox inside playcanvas.stable-min.js file, the same build is working inside chrome, without problems:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data[Learn More]
playcanvas-stable.min.js:888:78
_onSuccess
playcanvas-stable.min.js:888:78
_onReadyStateChange
playcanvas-stable.min.js:887:353
request/h.onreadystatechange<
playcanvas-stable.min.js:886:178
self-hosted:975:17

Is it possible to share a link to the project itself please?

link removed, thanks

Looking at the raw data of the config.v7.json file, there seems to be 2 extra characters at the start of the file:

image

I couldn’t get those extra characters to show up in any text editor that I have installed but copying the contents from the file to a new file seemed to have done the trick.

Thank you very much!
It works now :slight_smile: