Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ghosts & Japes

Fight spirits to survive in a haunted house! ... Or don't. · By CMCDEV

Trying to make a mod, I keep getting the same error.

A topic by YumemiOkazaki3 created Mar 02, 2025 Views: 213 Replies: 2
Viewing posts 1 to 2

I keep getting the same error when I try to test my mod. When I load the game, I keep getting the following error message.


___________________________________________
############################################################################################
ERROR in
action number 1
of Draw Event
for object obj_compiler:

JSON parse error
at gml_Script_import_files_from_directory
############################################################################################
gml_Script_import_files_from_directory (line -1)
gml_Script_scr_import_datafiles
gml_Script_anon_gml_Object_obj_compiler_Create_0_5_gml_Object_obj_compiler_Create_0
gml_Object_obj_compiler_Draw_75


Does anyone know how to fix this?

Developer

JSON parse error means the json is not formatted properly.
Use a json validator website to check the file, then you can correct any mistakes it finds.

https://jsonlint.com/

Thank you! I used this and it works now!