Hello, my game runs pretty great 60fps at all times however during going to Yanfly's save menu it begins to lag immensly and sometimes freezes up for several seconds in between saving and loading. This has been tested and happens on two gaming rigs, both easily meeting RPG Maker VX Ace's requirements. I was trying to find topics related to this issue but I didn't find anything of such. 🙁
Please help me fix this really annoying issue.
Bump, please help out this is a super annoying. :stare:
Do you use any other scripts?
Is your game stored on an external/removable drive?
If it is, that means you savefiles are also, and maybe that's the cause...
Yanfly's Save Engine got no such FPS issues by default, so it must be caused by another script.
Search for the 'refresh' methods in Yanfly's script and add a ' puts "refreshing now!" ' line at the end of each one. If you see tons of lines printed on the console, than one of your scripts makes a window refresh in every frame, which can and will kill your FPS. That script, however, should not be Yanfly's, because the save script doesn't do that alone.
But you wrote, "after certain length"... So, do you get these FPS drops instantly upon entering the save menu, or only later, after playing several minutes/hours?
At any rate, this seems like a specific error with a specific script, and it would be way easier to look for the issue in the project itself, rather than guessing what causes the slowdowns.
Can you please tell us what scripts are you using?
I used Yanfly Save Menu, and it was laggy, but just a very tiny bit.
I think it's laggy because of your event-heavy map, because event sprites need to dispose, and when saving all events are stored in $game_map...
But, it's strange that save menu is bugging, and ordinary menu is not.
Are you accessing save menu directly from map, or you go Menu -> Save?
That explains it.
I think you are pretty much screwed because of that map.
Does the menu screen bug the same way?
Lagg can't be avoided, but it can be delayed, I think.
Try to enter the save scene when you have no savefiles, and you are on that event-heavy map, and then enter the menu scene and compare times.
If entrance to the menu screen is faster, some optimizations can be made, otherwise I think not.
Hello, I would still like to know how to fix this issue.