Author Topic: Full game crash on level complete.  (Read 3139 times)

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Full game crash on level complete.
« on: May 19, 2019, 06:04:26 AM »
So me and my friend have been developing a PB "campaign" and for some reason, every time we complete a level, the whole game crashes. It crashes with this error:
############################################################################################
ERROR in
action number 1
of Create Event
for object obj_mapchar:

File is not opened for reading.
at gml_Object_obj_mapchar_Create_0
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_mapchar_Create_0 (line -1)
called from - gml_Script_scr_load_play (line -1) - <unknown source line>
gml_Object_obj_ws_play_Alarm_4

--
This is the error I get if I ignore it.

############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_mapchar:

unable to convert string "" to number
at gml_Object_obj_mapchar_Create_0
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_mapchar_Create_0 (line -1)
called from - gml_Script_scr_load_play (line -1) - <unknown source line>
gml_Object_obj_ws_play_Alarm_4

--
To me, it looks like the game appears to crash because a check mark can't be placed on top of the completed level, but I really don't know. Any suggestions on how to fix it or what is causing it? Thanks :D
--
Edit: Something else that is important to note is that this bug doesn't occur on any other "campaigns" that I make with multiple levels, it's only the one that we have been working on for about a month.
« Last Edit: May 19, 2019, 06:21:44 PM by Master_64 »

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2013
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Full game crash on level complete.
« Reply #1 on: May 19, 2019, 03:06:44 PM »
Hmn... Seems quite strange...

Have you thought about area goals?
Sorry because my English is not very good because I'm Spanish ;) :P

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Full game crash on level complete.
« Reply #2 on: May 19, 2019, 04:31:32 PM »
@Antikore What do you mean by area goals?

Gizgord

  • average
  • Level 17: Clanker
  • *
  • Posts: 764
    • View Profile
Re: Full game crash on level complete.
« Reply #3 on: May 19, 2019, 08:45:48 PM »
@Antikore What do you mean by area goals?
on level settings, you can choose two area goals. these are, for example:
-reach far top, change area
-defeat all enemies, complete level

also, have you used any custom items?

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Full game crash on level complete.
« Reply #4 on: May 20, 2019, 01:59:58 AM »
@Gizgord I have made 1 custom item, but it's not placed in every map. The custom item can't be the cause of the problem. The only custom thing that every map has is custom music and sounds, but I made a new slot and replicated the map, but it doesn't crash. At first, I was thinking about copying the levels to a different slot, but for some reason, you can't do that.
Also, I did know what area goals are, I've been using those.

Gizgord

  • average
  • Level 17: Clanker
  • *
  • Posts: 764
    • View Profile
Re: Full game crash on level complete.
« Reply #5 on: May 20, 2019, 03:56:34 AM »
well, in that case I would send your game files to TingThing so he can review them

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2013
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Full game crash on level complete.
« Reply #6 on: May 20, 2019, 06:22:17 AM »
well, in that case I would send your game files to TingThing so he can review them
True :)
Sorry because my English is not very good because I'm Spanish ;) :P

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2013
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Full game crash on level complete.
« Reply #7 on: May 20, 2019, 07:44:40 AM »
@Gizgord I have made 1 custom item, but it's not placed in every map. The custom item can't be the cause of the problem. The only custom thing that every map has is custom music and sounds, but I made a new slot and replicated the map, but it doesn't crash. At first, I was thinking about copying the levels to a different slot, but for some reason, you can't do that.
Also, I did know what area goals are, I've been using those.
Ok, maybe you didn't select the area which you want to go then, or at least, not correctly :)
Sorry because my English is not very good because I'm Spanish ;) :P

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Full game crash on level complete.
« Reply #8 on: May 20, 2019, 07:46:49 PM »
@Antikore I believe you are a bit confused. I'm not using area goals to change the area, I'm using area goals to complete a single slot and them move onto the next slot. All the goals look correct as well. I don't think it's a goal error, but I should point out that this wasn't happening until I bought the DLC to this game. I had almost immediately multiple crashes and errors with it, which is a bit disappointing.

Also, within this slot, changing worlds doesn't solve it and changing the slots within the world doesn't solve it either.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2013
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Full game crash on level complete.
« Reply #9 on: May 21, 2019, 08:58:09 AM »
Don't panic. It's very habitual this type of bugs on Platform Builder, but don't worry, normally TingThing can help you by giving your backup. If you still aren't sure and want to take the reins of the problem on your own and you haven't worked a lot on the project, starting in another game slot may fix your problem. I recommend the first one in most cases.
Sorry because my English is not very good because I'm Spanish ;) :P

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2013
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Full game crash on level complete.
« Reply #10 on: May 21, 2019, 09:00:59 AM »
Can you make a video showing up the bug, upload it as hidden in YT and send it to us, maybe that will help...
It's only a suggestion :)
« Last Edit: May 21, 2019, 09:05:46 AM by Antikore »
Sorry because my English is not very good because I'm Spanish ;) :P

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Full game crash on level complete.
« Reply #11 on: May 21, 2019, 06:05:53 PM »
@Antikore I don't ever plan on publishing the game, it's just for personal enjoyment with my friend (as of right now). I can't really just start over, we have spent too long on it. I could put the bug on YouTube but I wouldn't be able to include audio since it's copyrighted.
« Last Edit: May 21, 2019, 06:06:08 PM by Master_64 »

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Full game crash on level complete.
« Reply #12 on: May 21, 2019, 06:27:40 PM »
@Antikore Here is the problem in action.
I set up a custom level that upon entering would beat the level. The area goal is set to "Complete Course" and everything else is default.

Gizgord

  • average
  • Level 17: Clanker
  • *
  • Posts: 764
    • View Profile
Re: Full game crash on level complete.
« Reply #13 on: May 21, 2019, 10:47:32 PM »
that is bizzare.
my guess is some ID numbers don't match up, I don't think you'll figure this out without TingThing

Master_64

  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Full game crash on level complete.
« Reply #14 on: May 22, 2019, 01:11:59 AM »
@Gizgord He said he's working on fixing it, but I'm not too sure he knows fully what's happening.