Game Crashes After Transfer

After playing my game from the beginning, I encountered a bug where when I transfer to a specific map (a complex cutscene map with no movable characters) instead of loading the map, the screen goes black and after a few seconds, just crashes. Any help would be most appreciated. 


Thanks
Even if I add a transfer event to that map somewhere else in the game, the bug still occurs.


Thanks


- Judah
So... the problem is in the map?


 What is special on it besides the cutscene event? If nothing, can you show us the event?


Using any plugins?


Can you see anything in the console (press f8)?
Im using a few plugins, none of which should have an affect on this.





Nothing strange in the console (I dont think. Dont really use it.)


The cutscene map isnt really complex, just very long. Starts with a transparency on, then some sound effects, some show text events, nothing beyond the standard.


Then, there are some animation events (flames, etc.) then a few events that (with some controlled switches) can switch other event pages, making it look like a pillar is rising from the ground. Nothing really beyond the standard. No plugins are utilized for this map specifically. When its done, it transfers the player to another map/turns the transparency back on, and continues with the game. I havent had any issues with this in the past, but after adding a few different things to the map, I wanted to take a second look. So, I played the game from the beginning until that point (I saved right before so I can view it/see any problems multiple times). Then I encountered the bug. Hope this helps.


Thanks
Even if i add a transfer to somewhere else on that map (in save files after the cutscene has played) without any autoruns, I still get the bug.


Thanks
Look... I may be really wrong.


But maybe the map file got corrupted? Tried copying the map in a new one, evwnts and all but one by one?
Meaning just make  duplicate map?


Thanks
Not a duplicate, that could copy the problem.


Making a new file of the right size and tileset and copying the design and events by hand. Maybe use rightclick + leftclick-shift.


Could be hard work, but...
did you get a crash (error message) or does it freeze (no error message)?


If it simply freezes, then most likely one of those cutscenes has a wait for movement in combination with impassable terrains, or a loop in an event. In that case you'll have to check every single event and streamline them - follow the link "bughunting" in my signature to learn more about that.


If it crashes, we need a screenshot of the console messages to see what crashed it.
Im gonna try Waterguy's suggestion.


It doesnt freeze, or give and error message. When the player triggers the Transfer event, the screen fades to black (in the same way it should when transferring), but stays black. Then, after a couple of seconds, the game window closes.
Curious now, does the console save the data after the crash? How will we see it?


Just in case I ever need it too.
In the cutscene, there are no NPCs moving. Just Scroll Map events, SEs, and Show Text events. Along with events that (with switches) change event pages to make a large animation spanning a few tiles. (As stated before.) The player does not move at all during the course of the cutscene, and is transparent the entire time.


Hope this helps.
not really - we need to see the events to help more.


For example, it could be that you have a switch or variable that is used in a plugin as well as on your events, and that this caused the plugin to go wrong.


Other option is that it tried to do too much and overloaded the memory - try disabling the events one by one by adding an empty action button page without conditions as highest page


Or it could be something entirely unrelated, for example that your antivirus considers an file access that is only loaded on that map as a virus-attempt and blocks MV.


Also, try playing it in a browser instead of the editor playtest - does that work?
When it crashes, the console closes as well. Nothing changes in the console from playing it normally to encountering the bug.
There are so many events on the map with so many pages that sending screenshots would be the biggest pain (not to mention not being very organized in a forum post and wouldnt make much sense)


I could try disabling the events one by one, if you really think that would help.


Also, Im on a mac, and dont have an antivirus installed like most PC users (though I probably should).


And how would I play it in a browser? I havent tried that yet.
If I deploy to web browser and double click the Index.html file, it opens in chrome but I get: Error - Failed to load: data/actors.json
that sounds rather like a forced shutdown than an internal crash - please check all your anti-virus or ant-malware logs if one of them reports that as a virus try, and open the project directly in firefox or so and test if it happens then as well
As stated before, Im on a mac and dont have any antivirus software/whatever. And I got the error after trying in a browser. If i deploy it and try it on a different computer, do you think I would see a difference?
I just deployed a mac version and tested it on my computer. Still, the problem persists. 
Copying the game project and making a version without the scene to see if that fixes it.

Original thread: https://forums.rpgmakerweb.com/threads/game-crashes-after-transfer.68504/