I have deployed my game for web browsers to be played online. I tested it with "localhost" (using Mini WebServer software) and it worked fine. I deployed the game for Windows and it worked fine. However, when I uploaded it to the server an "Uncaught error. Argument error" popped up.
"Uncaught error. Argument error" with DragonBones plugin.
Javascript/Plugin SupportFailed to load resource: the server responded with a status of 403 (Forbidden)
There you go, that's the error.
There you go, that's the error.
I see a number of (403) Forbidden errors in the console log prior to this one:
Code:
Active resource loading counts reached to a per-frame limit while the tab is in background. Network requests will be delayed until a previous loading finishes, or the tab is foregrounded. See https://www.chromestatus.com/feature/5527160148197376 for more details
pixi.js:27682
PixiJS 4.5.4 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥
rpg_core.js?v=112018:7770 The Web Audio autoplay policy will be re-enabled in Chrome 71 (December 2018). Please check that your website is compatible with it. https://goo.gl/7K7WLu
WebAudio._createContext @ rpg_core.js?v=112018:7770
Daidarabotchi_tex.png:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
dragonbones_assets/Daidarabotchi_ske.json:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
dragonbones_assets/Daidarabotchi_tex.json:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
rpg_managers.js?v=112018:1919 Uncaught Error: Argument error.
SceneManager.onError @ rpg_managers.js?v=112018:1919
rpg_managers.js?v=112018:1920 http://v6p9d9t4.ssl.hwcdn.net/html/1153999/js/libs/dragonbones/dragonBones.js 4205
SceneManager.onError @ rpg_managers.js?v=112018:1920
dragonBones.js:4205 Uncaught Error: Argument error.
at ObjectDataParser.parseDragonBonesData (dragonBones.js:4205)
at PixiFactory.BaseFactory.parseDragonBonesData (dragonBones.js:9432)
at Array.dragonBonesIntegration.LoadComplete (KELYEP_DragonBones.js:659)
at Loader.emit (pixi.js:2642)
at pixi.js:36284
at MiniSignal.dispatch (pixi.js:3057)
at Loader._onComplete (pixi.js:4974)
at pixi.js:5014
at next (pixi.js:6201)
at Loader.bitmapFontParser (pixi.js:35956)
Hmm.. Is there a way to fix this? It looks that only dragonbones files are being forbidden.
Forbidden sounds like you have some kind of access set up over the folder.
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/uncaught-error-argument-error-with-dragonbones-plugin.102673/