At first glance i can only speculate what's wrong.
In the top of your candle action put this:
action candle_stick(){
while (!me) {wait (1);}
...
}
Check also this:
// set camera sizes (this is only needed if you use "camera" as main):
camera.size_x = screen_size.x;
camera.size_y = screen_size.y;
// set camera as main view of sc_screen_default:
sc_screen_default = sc_screen_create(camera);
Try and compile without shader //my.material = mtl_levelDefaultNM;
Your game is an interior, exterior level?
If interior make sure you have sun light and shadows disabled vec_set(sun_color, vector(0,0,0)); sc_screen_default.settings.lights.sunShadows = 0; //enable shadows for the sun
I could send you the compiled version if you like but it seems pointless as the problem is as soon as i approach the floor torch it freezes and crashes.
What error message?
You can use the
sys_marker command to mark positions in the code and find the place where the crash happens.
Make your action small as possible and expand step by step to find your issue, good luck.