RPG Maker MV

RPG Maker MV

Mr Kipling Oct 24, 2015 @ 5:41am
Failed to load: data/actos.json
Just tried running the index.html file on a newly created game and get the Failed to load: data/actors.json.

Any ideas?

< >
Showing 1-7 of 7 comments
ocean pollen Oct 24, 2015 @ 7:39am 
... is there an data directory next to the index.html, with an actors.json in it?
Mr Kipling Oct 24, 2015 @ 7:55am 
Yes it's there. Checked the json and it doesn't look malformed or corrupted in any way.

Recreated error by starting another blank project and then ran index.html and same thing happened.
Mr Kipling Oct 24, 2015 @ 7:59am 
This is interesting. Tried it in IE and Chrome and I get that error. It runs fine in Firefox though!
ocean pollen Oct 24, 2015 @ 8:49am 
Ah, it's probably just browser permissions issues. It should fine in any of those browsers if you upload it somewhere, or if you serve it from a local webserver instead of tryng to open the file directly
Mr Kipling Oct 25, 2015 @ 11:24am 
Yep that was it. Ran it with IISExpress and it was fine. Thanks for the help.
doppler Jan 4, 2016 @ 12:00am 
Chrome prevents insecure file transfers on a local level "file://"

If you inspect the page, you'll see this message:
"Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource."

If you upload it to a secure server (via ftp), your game will work. Or you can change Chrome's security protocol http://stackoverflow.com/a/3177718
jornadapro Mar 29, 2020 @ 11:22am 
You can get it to run locally from Chrome if you start the browser from a terminal using the flag:
--allow-file-access-from-files

For Windows
start chrome --allow-file-access-from-files

For MacOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google/ Chrome --allow-file-access-from-files

For Mac Linux
google-chrome --allow-file-access-from-files
Last edited by jornadapro; Mar 29, 2020 @ 11:26am
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Oct 24, 2015 @ 5:41am
Posts: 7