Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Fixed] Layer not existing

A topic by Infinite_relic created 65 days ago Views: 45 Replies: 2
Viewing posts 1 to 3
(1 edit)

Whether I manually call room_goto_live or let it autoload through the suggested script setup, error is the same.

This is for Nation Breakers YellowAfterLife, if that helps you narrow down whether I'm not doing it right or there is an actual issue.

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_player:

instance_create_layer :: specified layer "Projectiles" does not exist
 at gml_Object_obj_player_Create_0 (line 37) - my_ammodrone=instance_create_layer(x,y,"Projectiles",obj_ammodrone)
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_player_Create_0 (line 37)
called from - gml_Object_obj_player0_Create_0 (line 8) - event_inherited();
called from - gml_Script_live_room_loader_add_layer (line 78) -                                    event_perform(ev_create,0);
called from - gml_Script_live_room_loader_run_impl2 (line 10) -               live_room_loader_add_layer(l_lrs[|l_lrk]);
called from - gml_Script_live_room_start (line 11) -        live_room_loader_run_impl2(l_rm2);
called from - gml_Room_room_gmlive_blank_Create (line 1) - live_room_start();

Developer

This is fixed in 1.0.22

nice.