Error player_id not set before reading it

Posted by jana
This is the error I'm getting, regarding the other player. I don't know how player_id is set and don't have access to this code. Can someone tell me what might be causing this error?


___________________________________________
###########################################################
FATAL ERROR in
action number 1
of Step Event0
for object GMS:

Variable obj_challenger.player_id(100105, -2147483648) not set before reading it.
at gml_Script_gms_step (line 664) - room_id = gms_other_get_real(player_id, "room");
###########################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_gms_step (line 664)
called from - gml_Object_GMS_StepNormalEvent_1 (line 1) - gms_step()

Replies (1)

Last message on 13 Feb 2018

Size43 (Administrator) on 13 Feb 2018, 17:47:07
Did you place obj_challenger in the a room anywhere?