I
it9999
Guest
Problem:
I been trying to build for android using yyc and I keep getting this error
Compile errors:
Object: obj_ibisflight Event: Global Tap at line 1 : Fatal Error while compiling gml_Object_obj_ibisflight_Gesture_64 - bailing details below
Output:
collapsing enums.
Error : gml_Object_obj_ibisflight_Gesture_64(0) : Fatal Error while compiling gml_Object_obj_ibisflight_Gesture_64 - bailing details below
Final Compile...System.NullReferenceException: Object reference not set to an instance of an object.
at GMAssetCompiler.GML2CPP.(StringBuilder , CPPVarRef )
at GMAssetCompiler.GML2CPP.(StringBuilder , List`1 , Boolean )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMAssets , )
finished.
Stats : GMA : Elapsed=292.0844
Stats : GMA : sp=20,au=0,bk=0,pt=0,sc=0,sh=0,fo=2,tl=0,ob=14,ro=5,da=0,ex=0,ma=20,fm=0xA00468E00020
X://bin/GMAssetCompiler.exe exited with non-zero status (1)
elapsed time 00:00:01.4796101s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="C:\Users\Iain\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Package started at 08/15/2020 01:42:59
"cmd" /c subst Z: /d
elapsed time 00:00:00.0279009s for command "cmd" /c subst Z: /d started at 08/15/2020 01:43:00
"cmd" /c subst Y: /d
elapsed time 00:00:00.0229385s for command "cmd" /c subst Y: /d started at 08/15/2020 01:43:00
"cmd" /c subst X: /d
elapsed time 00:00:00.0239363s for command "cmd" /c subst X: /d started at 08/15/2020 01:43:00
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
Global tap code:
Other comments:
I am new to mobile development and im seeking out for help to identify the mistake so I can avoid it in future
I been trying to build for android using yyc and I keep getting this error
Compile errors:
Object: obj_ibisflight Event: Global Tap at line 1 : Fatal Error while compiling gml_Object_obj_ibisflight_Gesture_64 - bailing details below
Output:
collapsing enums.
Error : gml_Object_obj_ibisflight_Gesture_64(0) : Fatal Error while compiling gml_Object_obj_ibisflight_Gesture_64 - bailing details below
Final Compile...System.NullReferenceException: Object reference not set to an instance of an object.
at GMAssetCompiler.GML2CPP.(StringBuilder , CPPVarRef )
at GMAssetCompiler.GML2CPP.(StringBuilder , List`1 , Boolean )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMLToken )
at GMAssetCompiler.GML2CPP.(GMAssets , )
finished.
Stats : GMA : Elapsed=292.0844
Stats : GMA : sp=20,au=0,bk=0,pt=0,sc=0,sh=0,fo=2,tl=0,ob=14,ro=5,da=0,ex=0,ma=20,fm=0xA00468E00020
X://bin/GMAssetCompiler.exe exited with non-zero status (1)
elapsed time 00:00:01.4796101s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="C:\Users\Iain\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Package started at 08/15/2020 01:42:59
"cmd" /c subst Z: /d
elapsed time 00:00:00.0279009s for command "cmd" /c subst Z: /d started at 08/15/2020 01:43:00
"cmd" /c subst Y: /d
elapsed time 00:00:00.0229385s for command "cmd" /c subst Y: /d started at 08/15/2020 01:43:00
"cmd" /c subst X: /d
elapsed time 00:00:00.0239363s for command "cmd" /c subst X: /d started at 08/15/2020 01:43:00
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
Global tap code:
GML:
if global.gamestate = "title"{
global.gamestate = "play"
obj_game.alarm[0]=120;
with(obj_title){
instance_destroy()
}
gravity = global.gravity;
}
if y < room_height-64&&y > 128 && global.gamestate = "play"{
vspeed = global.flap;
facing = 10;
alarm[0] = 20;
}
I am new to mobile development and im seeking out for help to identify the mistake so I can avoid it in future