FPS are solid... and then it freezes. At first i thought it was my character spritesheet, but even with the default ones, it keeps freezing every 5 seconds. This is my plugin list. I tried disabling them one by one, but problem persists. tried in two different computers(one of them is a core i5 with 18gb of ram). It's driving me crazy.
What could be causing this lag?
RPG Maker MV SupportFPS are solid... and then it freezes. At first i thought it was my character spritesheet, but even with the default ones, it keeps freezing every 5 seconds. This is my plugin list. I tried disabling them one by one, but problem persists. tried in two different computers(one of them is a core i5 with 18gb of ram). It's driving me crazy.
Are you using parallel processes? Those are probably the biggest resource hogs, as they run alongside everything else and are executed every. single. frame. If that's the problem, you can usually fix it by adding a few frames of 'wait' at the end.
no parallel process, no common events, i basically only added the plugins. and this map i posted is totally clean. not a single event or tileset. only the parallax background
did you disable everything and still get the problem?
if i disable all the mods and use default sprites, it runs smooth, but if i add any of them, problems start. and it's not just the quxios plugins. i tried once using only "mimosa mouse cursor" and it caused lag
are you running any kind of cloud services?
no, none. what annoys me about the whole thing is, why not dropping a few fps instead of freezing the whole thing
Check one more time by disabling just KHAS' plugins, just his, because I have in use them also and I notice similar FPS drops too. When I disabled it (tests) everything was ok.
No, problem persists
I think i'll give up. i readjusted my custom character sprite sheet to 1500x1200, it's 48,5kb big (lighter than most default sprite sheets), and it's still lagging if i use the mods.
Profile your game using the Chrome DevTools
It doesn't look like plugins are affecting it, It looks like the render lags and the render lags in pixi when it does garbage collection. Unfortunately I don't think there is a way to turn off garbage collection in web gl mode. The only way to fix it would be to rewrite the base rpg maker engine or pixi itself.
Original thread: https://forums.rpgmakerweb.com/threads/what-could-be-causing-this-lag.148123/