Show error when destroying and instance sync

Posted by dirtycow
ds_map_find_value argument 1 incorrect type (5) expecting a Number (YYGI32)
at gml_Script_XServer_instanceID (line 1) - return ds_map_find_value(ds_map_find_value(global.__instance, ds_list_find_value(global.__instance_idmap, argument0)), "instance_id");
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_XServer_instanceID (line 1)
called from - gml_Script_gms_instance_handover_all (line 3) - gms_instance_handover(XServer_instanceID(_i));
called from - gml_Object_obj_bat_EndGameEvent_1 (line 3) - gms_instance_handover_all();

Replies (2)

Last message on 8 Jan 2019

Size43 (Administrator) on 24 Dec 2018, 17:16:40
Are you destroying all instances right before calling gms_instance_handover_all?
ADMIN_MAX on 8 Jan 2019, 11:36:03
Have the same problem