Black Tilesets Glitch on Android Phones

Hello, I've ported 3 games to Android with little problems before. But now I'm running into an issue with my latest game where the majority of the tilesets appear black when testing on Android. When the character moves, different pieces of the tilesets flash and appear around you, but then disappear. Below is a screenshot of how it looks on Windows versus how it appears on Android. I tried disabling plugins thinking it was coming from VisuStella but to no avail. And it gets weirder. I have tested on two different Android phone models and the glitch happens. Tilesets black. Yet on a large screen tablet, it runs perfect with no issues. I've tried everything and I'm at my wits end. Any help would be appreciated.

I can't figure out why it runs fine on a tablet but not a phone.


Screenshot 2024-05-30 225307.png

On Windows.


Screenshot_20240530_090027_Suramon.jpg

On Android phone.
What’s the file size of the tile sets? Are they set to RGB or indexed?
I finally fixed it after 7 hours of trial and error. I had to add PIXI.settings.PRECISION_FRAGMENT = PIXI.PRECISION.HIGH; before Scene_Boot in main.js file. This is supposed to fix the black gap in tilesets on Android. Happily it fixed all my problems.
This thread is closed due to being reported as solved. If you need it reopened, let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/black-tilesets-glitch-on-android-phones.169135/