Strange horizontal character graphic offset

I'm having an issue with my graphic I'm using for sideways doors. It seems like there is a 1-pixel horizontal offset (to the left) displaying on the map but seemingly only under certain conditions. See this video to understand what I mean. Sorry about the audio from another video, forgot I had set it to record desktop audio in OBS lol my bad.



This map is 80 tiles wide, and if I start at the left and walk all the way right those black tiles (which are just 48x48 character graphics) remain totally fine. It's only when I walk to the left that, at a certain point, they shift to the left one and walking to the right then fixes them. Very odd behavior and it could have been going on this whole time with a lot of graphics but it's hard to notice such a small thing when there's tons of stuff going on the screen. Just happened to notice it today with a sideways door asset being detached from a wall.

I did try it in a clean project with no plugins and it did work, so I'm assuming it is one of my plugins. Right when I started my game I did make some edit to one of the base JS files that removed the vertical pixel offset for all characters because I didn't want it, so I'm thinking that could be the cause if it was edited correctly but I'm not quite sure where to look for that or if that's even the case.

I'll be testing turning plugins on/off to see if any of them change that, starting with the most recent ones I've added. Will update if I find anything, but wanted to know if anyone else has had this issue before in the meantime. Also definitely wondering where that vertical pixel offset line is to see if something went wrong there.

EDIT: The pixel offset was removed with a plugin, and said plugin when turned off does not fix this issue.
what is your screen size for that game?

that kind of shift is known to happen when your screen size is not exact multiple of 48x48, because the engine tries to fit a map to both ends of the screen, and has to add random lines if that doesn't fit.
what is your screen size for that game?

that kind of shift is known to happen when your screen size is not exact multiple of 48x48, because the engine tries to fit a map to both ends of the screen, and has to add random lines if that doesn't fit.
Yep, in testing removing plugins it seems that the resolution change in Yanfly's Core Engine is what's to blame. Oof... more issues because I arbitrarily chose a non-multiple resolution because I thought it was standard ;_;

I'm assuming the only real fix for this is to change the resolution to be a multiple... not really sure that's feasible for me at this point. I've got a lot of stuff that's tied to that resolution and it is why I didn't want to change it in when I found that scaling wasn't perfect either. It's mainly a lot of picture placement stuff, as well as some things I've had to manually hone in on with plugins in terms of where they appear on the screen.

The resolution is 1280x720.
The resolution is 1280x720.
The next correct fit would be 1248x720 - you could make a short test if that can work for you or not

Original thread: https://forums.rpgmakerweb.com/threads/strange-horizontal-character-graphic-offset.170918/