じ☆ve冰风 发表于 4 天前

Fix error Failed to load data/Actors.json

This error happens because you try to play a game in the web browser directly when running INDEX.HTML.

Modernbrowsers have a security system that prevents local files from tryingto capture information from other sites via AJAX, but you can disablethis security (CROSS-ORIGIN).

The tutorial is for the following browsers:

[*]Google Chrome
[*]Opera (Chromium)
[*]Mozilla Firefox

Google Chrome/Opera:
To disable use the following command line:
--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.
Close any windows of the chosen Chromium that were run before starting.​

Mozilla Firefox:
In the browser address bar enter the following command:
about:config

Press button.Do not change anything on this screen, just what was shown in the tutorial.

In the search field type:
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.


本贴来自国际rpgmaker官方论坛作者:DevRPG2k处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/fix-error-failed-to-load-data-actors-json.124240/
页: [1]
查看完整版本: Fix error Failed to load data/Actors.json