+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats

Members
Total Members: 3
Latest: zerocold
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 92
Total Topics: 89
Most Online Today: 0
Most Online Ever: 53
(November 05, 2019, 12:20:32 am)
Users Online
Members: 0
Guests: 0
Total: 0

Author Topic: [MV] Fix error Failed to load data/Actors.json  (Read 40 times)

0 Members and 0 Guests are viewing this topic.

GameDev

  • Administrator
  • Jr. Member
  • *****
  • Posts: 86
  • Karma: +0/-0
    • View Profile
    • Blog
[MV] Fix error Failed to load data/Actors.json
« on: November 02, 2019, 06:16:24 pm »
This error happens because you try to play a game in the web browser directly when running INDEX.HTML.

Modern browsers have a security system that prevents local files from trying to capture information from other sites via AJAX, but you can disable this security (CROSS-ORIGIN).

Browsers:
  • Google Chrome
  • Opera (Chromium)
  • Mozilla Firefox



Google Chrome/Opera:
To disable use the following command line:
Code: [Select]
--allow-file-access-from-files
  • Create a browser shortcut on the Desktop.
  • Right-click on it and select Properties.
  • In the "Destination" box enter the parameter after the second quotation mark with a space and save.

(chrome_allow_ajax_local.png)

Always start Chrome from this shortcut to be able to play a Rpg Maker MV game.



Mozilla Firefox:
In the browser address bar enter the following command:
Code: [Select]
about:config
Press I'll be careful, I promise! button.
Do not change anything on this screen, just what was shown in the tutorial.

In the search field type:
Code: [Select]
security.fileuri.strict_origin_policy
Double click this item, it will change from "true" to "false".
This is done, but you may need to restart the browser.



https://rpgboss.wordpress.com/2019/11/02/rpgmv-como-testar-seu-jogo-no-navegador/
https://rpgboss.blogspot.com/2019/11/rpgmv-como-testar-seu-jogo-no-navegador.html
« Last Edit: November 06, 2019, 09:26:06 pm by GameDev »

Share on Facebook Share on Twitter


 

+- Recent Topics

[MV] Fix error Failed to load data/Actors.json by GameDev
November 02, 2019, 06:16:24 pm

[2k] Laxius Power II - Destinies by Bibliothécaire
October 14, 2019, 03:04:23 pm

[2k] Laxius Power I - Random Story by Bibliothécaire
October 10, 2019, 12:10:05 pm

[2k] [2k3] Super Mario World - Rpg Maker by GameDev
October 09, 2019, 08:04:02 pm

[2k] [2k3] Encrypting your game with VIRTUAL BOX ENIGMA by GameDev
October 07, 2019, 08:51:25 pm

[Destiny] Analog clock - clock with hands by GameDev
October 04, 2019, 12:50:06 am

[XP] Avoiding Mistakes with Tilesets Locks by GameDev
October 03, 2019, 10:43:45 pm

[2k3] Rm2k SBS with Faces - Made with Rm2k3 Steam by GameDev
May 16, 2019, 03:18:55 pm

[Ineluki] Map CMS + Real Snapshot by GameDev
May 13, 2019, 11:00:37 pm

[2k3] Other Land - O Livro do Segredo by GameDev
May 10, 2019, 08:21:46 pm