Coincidentally, this is the same type of problem I've been experiencing for awhile now. At first I thought it was plugin related, then I wondered if it's because I updated my NWJS. I was wondering if it's worth starting a whole new topic on or not. If you find a solution let me know.
One thing we have in common is a high refresh rate monitor. I wonder if it could be related to that
Edit:
Hopefully someone smarter can come along and confirm or deny whether this is true, but my line of reasoning here is that even with Yanfly's "FPS Sync" it's not true video sync. Yanfly likes to call it that, but that's not what it is. Judging by other users (and how Yanfly wrote the description) there are very few people who take into consideration high refresh rate monitors, so when the game is running at high refresh rates, it could create an error in the renderer, maybe Pixi, maybe engine based.
I think limiting the frame rate to 60 might help? I'm not home right now to test, but if you are using Nvidia, you can go into the control panel and set the maximum possible frame rate. You can give that a try. It's only a temporary solution and it's just for debugging this problem, but if I'm right about this, then maybe we can find and/or commission a plugin that forces the game to always run at 60
Edit (again)
Doing some searches online, I found this thread:
I've had this happen in my own projects and in other games. It is extremely random which makes me think it's some kind of race condition that sometimes occurs. Sometimes it will occur within minutes of play, othertimes after an hour two. Sometimes it never happens during a session at all...
steamcommunity.com
The last post in the thread has links to a couple of solutions. One of them is engine based, so if you decide to go with that one, make sure to back up your project. The other solution is a plugin. Give it a try. I'll also try this when I get home later.
One more edit:
I've been doing a lot of playtesting at home with the frame rate capped at 60 via the Nvidia control panel, and so far there the problem hasn't come up - though there have been some weird frame timing issues. The frame counter still reports 60, but it occasionally feels choppy and gross.
I'll give the plugin a try later, but I'm beginning to feel confident that my hypothesis about high refresh rate monitors is true.