I've been dealing with issues regarding periodic lag in my testing, and I've tried several plugins to help with it and make garbage collection happen more often, or toy with the Cache limit, stabilize the scenes... I've spent hours scouring code and attempting some google Kung-fu to no avail.
But there is something I have discovered that instantly stops the lag-like effects and screen tearing that happens when I use it, and it is the Garbage Collection button in the Dev Console when play testing. When I click it, it immediately makes me go back to 60 fps and the latency drops back to 2-4 instead of jumping all over the place in the 14-20 range.
There has been no plugin, code snippet, hint, help, or ANYTHING that helps the way clicking that button can do, and I cannot find where I could manually call that by script.... is what I am asking even possible since the console isn't technically part of RPG Maker and can only be accessed during a playtest?
Description of the lag: it doesn't always hit at the same time, but usually starts around 4m 15s of testing and will last for about 20-30 seconds, and then will repeat every 5 minutes or so. It doesn't matter what scene I am in at the time, the lag will come and go almost like clockwork. While dropping 5-7 fps doesn't sound like a lot, it is VERY noticeable to me and the 2 testers I have, esp when it can go down and up every other frame for the duration of whatever is happening, making a severe movement stutter that is visible easily.
But there is something I have discovered that instantly stops the lag-like effects and screen tearing that happens when I use it, and it is the Garbage Collection button in the Dev Console when play testing. When I click it, it immediately makes me go back to 60 fps and the latency drops back to 2-4 instead of jumping all over the place in the 14-20 range.
There has been no plugin, code snippet, hint, help, or ANYTHING that helps the way clicking that button can do, and I cannot find where I could manually call that by script.... is what I am asking even possible since the console isn't technically part of RPG Maker and can only be accessed during a playtest?
Description of the lag: it doesn't always hit at the same time, but usually starts around 4m 15s of testing and will last for about 20-30 seconds, and then will repeat every 5 minutes or so. It doesn't matter what scene I am in at the time, the lag will come and go almost like clockwork. While dropping 5-7 fps doesn't sound like a lot, it is VERY noticeable to me and the 2 testers I have, esp when it can go down and up every other frame for the duration of whatever is happening, making a severe movement stutter that is visible easily.