Skip to main content

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

GMLive is crashing when I place a tile and save project

A topic by Xerra created 29 days ago Views: 67 Replies: 2
Viewing posts 1 to 2

GMLive version 1.0.76 - May 25, 2024

Gamemaker IDE version: 2024.11.0.179

Current Runtime: 2024.11.0.227

I'm running on an M2 Mac Mini Pro

See error below. Only recently updated my GMLive version as I've started work on a new project. GMLive is set in my framework which i've used in my last 8 games so I don't believe I've got anything wrong with the installation. I've been running it fine with this project so far just using it to modify Scribble text function in my project, so it's not a server issue.

The error happened because I set up a new tile layer and put a few tiles on it which are displaying ok. I'm using GMLive in the background because I want to set up these tiles around the text created in the draw event but, as soon as I place one down in the editor and save in gamemaker, with my project running, then I get the error message.

rm_empty only has the one line in the creation code:

live_room_start();

in obj_gmlive the code is the default apart from two added lines in the create event:

live_blank_object = obj_blank;

live_blank_room = rm_empty;

----------------------------------------------------

[GMLive][Thu Jan  2 21:43:52 2025] Loading roomTitle...

ERROR!!! :: ############################################################################################

FATAL ERROR in Room Creation Code for room rm_empty

ds_map_find_value argument 1 incorrect type (undefined) expecting a ds_map

 at gml_Script_live_room_loader_add_layer (line 13683) - var l_ql_depth=ds_map_find_value(l_ql, "depth");

############################################################################################

gml_Script_live_room_loader_add_layer (line 13683)

gml_Script_live_room_loader_run_impl2 (line 14014) - live_room_loader_add_layer(ds_list_find_value(l_lrs,l_lrk));

gml_Script_live_room_start (line 14046) - live_room_loader_run_impl2(l_rm2);

gml_Room_rm_empty_Create (line 1) - live_room_start();

Igor complete.

elapsed time 00:00:50.2881110s for command "/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2024.11.0.227/bin/igor/osx/arm64/Igor" -j=8  -options="/tmp/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run started at 01/02/2025 21:43:23

SUCCESS: Run Program Complete

Developer

It’s this issue, I posted a 4-line fix https://itch.io/post/10223311

Yep, that's what it was. I've replaced those lines and tile editing is no longer crashing on save now. Thanks, YAL.