That’s a cross origin error. This thread talks about the fix: ☑ Cross-origin error when self-hosting
I just put those lines of code in the first thing I can hook in. I think you can even do this in the pre loader script.
In the __loader__.js
script, I did:
pc.script.createLoadingScreen(function (app) {
var handler = app.loader.getHandler("texture");
handler.crossOrigin = "anonymous";
var showSplash = function () {
// Rest of the script