J
Jamesreid
Guest
We are trying to get our game available on iOS using GMS2 (1.5.322) and Xcode 9.4.1. We have a developer account, all certificates. The game runs great on our PC and iMac.
We got the game on our phone yesterday, however today, after adding a few new lines of code, Xcode is being a meanie and popping up this error:
FATAL ERROR in action number 1 of Step Event0 for object o_player_run: REAL argument is unset
called from - gml_Object_o_player_run_Step_0 (line 1)
This error is coming from code that yesterday was working fine (nothing changed).
Here is the code:
if instance_exists(o_players){
x = o_players.x;
y = o_players.y;
}
if global.pause == 1 or global.tutpause == 1{
image_speed = 0;
}else{
if global.platform_inst_hsp > -18 {
image_speed = 0.5;
}else{
image_speed = 0.80;
}
}
Does anyone see an issue here? We think when Xcode is changing our code into it's own code, its putting in this " #include <YYGML.h>" header on line one of it's converted "gml_Object_o_player_run_Step_0". Is this related?..
Thanks for any help! Literally anything is helpful at this point. I also do want to mention that we have read a post similar to this called "REAL argument is unset? - MaiNaym on Nov. 26, 2016" and it didn't seem like it applied to our situation.
-James and Bailey
We got the game on our phone yesterday, however today, after adding a few new lines of code, Xcode is being a meanie and popping up this error:
FATAL ERROR in action number 1 of Step Event0 for object o_player_run: REAL argument is unset
called from - gml_Object_o_player_run_Step_0 (line 1)
This error is coming from code that yesterday was working fine (nothing changed).
Here is the code:
if instance_exists(o_players){
x = o_players.x;
y = o_players.y;
}
if global.pause == 1 or global.tutpause == 1{
image_speed = 0;
}else{
if global.platform_inst_hsp > -18 {
image_speed = 0.5;
}else{
image_speed = 0.80;
}
}
Does anyone see an issue here? We think when Xcode is changing our code into it's own code, its putting in this " #include <YYGML.h>" header on line one of it's converted "gml_Object_o_player_run_Step_0". Is this related?..
Thanks for any help! Literally anything is helpful at this point. I also do want to mention that we have read a post similar to this called "REAL argument is unset? - MaiNaym on Nov. 26, 2016" and it didn't seem like it applied to our situation.
-James and Bailey