Error when handover the instance

Posted by ADMIN_MAX

___________________________________________
############################################################################################
ERROR in
action number 1
of Other Event: Game End
for object obj_bat:

Data structure with index does not exist.
at gml_Script_gms_instance_handover (line 5) - buffer_write(_b, buffer_u16, ds_map_find_value(__s, "syncID") - 1000000);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_gms_instance_handover (line 5)
called from - gml_Object_obj_bat_EndGameEvent_1 (line 3) - gms_instance_handover(id);


i used handover_all also but doesnt work how can i solved this?

Replies (1)

Last message on 5 Jan 2019

Size43 (Administrator) on 5 Jan 2019, 12:41:51
This most likely means something went wrong where an instance got destroyed, but not removed from the list of synced instances.

Alternatively, if you're using ds_maps and ds_lists, make sure you're not accidentially destroying ds_maps and/or ds_lists that you didn't create.