Random lag in a new project (compared to no lag in a larger one)

Hey guys, I made a quick video on my character lagging in a brand new project I created. There are no events, it's just a simple map I created but it's lagging when I move. I removed the parallax background and the following characters to no success, it's still "choppy"

Is it that certain tiles would make it lag more so than others? I'm not quite sure what the problem might be... I'll be happy to answer any questions and provide screenshots if that would help. Here's a short 1 minute video comparing the laggy map to my larger project that plays smooth.
There are different causes for lag, and you need to find the cause to fix it.


- A single badly written parallel process can lag any system, no matter how powerfull.


- too many events (as in hundreds on a large map) may create lag even if they are only decorative without content.


- forgetting to switch off an empty parallel process will drop your framerate a lot


- wrong plugin configurations


- ...


- ...


You'll have no choice but to check the project yourself - and the parallel processes are the thing I would start to check.
There are different causes for lag, and you need to find the cause to fix it.

- A single badly written parallel process can lag any system, no matter how powerfull.

- too many events (as in hundreds on a large map) may create lag even if they are only decorative without content.

- forgetting to switch off an empty parallel process will drop your framerate a lot

- wrong plugin configurations

- ...

- ...

You'll have no choice but to check the project yourself - and the parallel processes are the thing I would start to check.
Thanks for the fast response. With the project in question I have 0 events, 0 plugins, etc, and just a single map. Compared to my other project with lots of events (which runs smooth).

The only difference is the fact that I created a specific tileset for my new project. I basically just created a new set from picking and choosing whatever tiles I thought I may need and put them in whatever category--could this be the cause of lag? I notice that some boxes say "animation" for the tileset etc etc and I just randomly put whatever tiles I wanted. This is the only thing that comes to mind.

Any help would be appreciated.
What's the FPS on both? You can check that by hitting F2. Also, if you have not installed the update for MV, there was a bug in the code that made the animation tiles really slow (specifically the water tiles), so that might be your problem.

Also, don't put whatever you want in the A1 tiles (the animation spot), those have to be animated, and if not done well, it will look horrible.
The only difference is the fact that I created a specific tileset for my new project. I basically just created a new set from picking and choosing whatever tiles I thought I may need and put them in whatever category--could this be the cause of lag?
Yes, if you increased the size of the tilesheets - no if you kept them the same size.
There are six different tilesheet formats, and each tilesheet needs to be in the slot it is created for. For example the animated autotiles work by automatically scrolling through three regular autotiles. Placing regular tiles (or even the similiar looking A2 sheet) there will have the tiles "animated" by scrolling through the pictures and changing on screen.


However, that only creates strange effects on display, no lag.


But the tilesheets have a fixed size - if you add tiles to the side, making the tilesheets larger, those added tiles will be unusable but still loaded - and that can create lag with large pictures.
What's the FPS on both? You can check that by hitting F2. Also, if you have not installed the update for MV, there was a bug in the code that made the animation tiles really slow (specifically the water tiles), so that might be your problem.

Also, don't put whatever you want in the A1 tiles (the animation spot), those have to be animated, and if not done well, it will look horrible.
I have not installed the update because I've been worried I may lose progress I've made in my current games, and because I am not sure if there's something special I need to do to apply it to my games in progress (if it doesn't over-write) them. I'm sure my fears are unfounded though ^^

I made a duplicate map with a "standard" tileset where I did not modify anything from the "outside" set, and it plays fine. FPS on the choppy map is 60ish but when it "lags" it drops to 40 FPS momentarily and then resumes around 60.

The other games/maps hover around 60 throughout. So it's just those temporary blips to 40 that constitute the lag. I think it's probably the non-animation tiles in the animation tile area, or something. Perhaps that update would resolve it.
Sort of disappointing to see this happening on MV. I've always had this issue off and on on RPG Maker VX Ace and have never been able to find a solution for it. Sometimes it just does this, even on "empty" maps, and sometimes you can just leave the map and return to get rid of it, while sometimes you have to reset the game.


Honestly, I have no idea what causes it. Normally Andar's explanations for the problem should be correct, but this is a problem that occurs even if nothing at all is wrong with the map. I'm curious if anyone's ever diagnosed what actually causes random lag, because it truly is random.


EDIT: The only "fix" I've come across for it is here:




But even then, I'm not sure it's going to fix it, or if it's even referring to the same problem, because as you said, it's possible to run into this problem on maps without events.

Original thread: https://forums.rpgmakerweb.com/threads/random-lag-in-a-new-project-compared-to-no-lag-in-a-larger-one.48537/