Hi,
I'm using a JSON script loaded in with AJAX to determine positions and spawn times for enemies. It works as expected on desktop browser, desktop nw.js export, and remote preview on android. But when exporting the game to APK and testing it, the json won't load and none of the enemies appear. JSON files I used for other parts of the game still worked as intended, though, so it seems to be an issue with just that one file.
When using PC-mobile debugging, this is the error I found:
What could be done to fix this? Does array size affect whether or not they work on mobile?
Any help or advice on how to potentially troubleshoot this would be life-saving 🙏