Important script causing black tilesets

Hello all,

I've been working on a new game and have a weird bug that I don't know if it can be fixed and if not I'll have to look for alternative options for what I need, but...

I have the YSE Patch System installed and is the script causing the issue.

Basically any tileset after 8 won't work and only displays the tiles in black.  The character and events still show up, but no tiles.  I've tried this with multiple tilesets, copy/paste known working ones, etc. and it always happens.  After about 45 minutes of googling, I read that it is a script issue, so I disabled all my scripts and enabled them one at a time and it turns out it's YSE Patch System.  

This makes no sense to me as I don't see any obvious calls to tilesets or anything to do with them in the script, but I'm not that good with scripting.  I would ask on the official YSE Patch System thread but the dev hasn't replied to it (or his website) in a long time.  

I'm really counting on the script for what I'm doing, but can probably find alternative methods if needed.  

Thanks to anyone who can help!
It can also be the wrong order of scripts or a simple typing error/missing end or so. (redownload and compare to check for that possibility)

After that, I would check if it's really that script alone - place it in an empty project without any other scripts and check if the same error happens again.

Most probably not (it would have been very obvious and cause a lot more problems for others if it were), so the true cause would be a combination of several scripts.

In that case, simply repeat the search for the script causing this, but without removing the patch system script. Most probably you'll find a second script where the error disappears if it is removed. After that, try changing the order of those two scripts.
This is what I would have thought, too, but just did some more testing and found the following:

  • It still happens when the YSE Base Module and YSE Patch System is the ONLY script
  • It doesn't happen when JUST the YSE Base Module script is there
  • Using the YSE Patch System lite this doesn't happen
So I maybe able to just switch over to the lite version, he doesn't make it clear what the differences are but it looks like it'll still do everything I need.

Still, I'm wondering why more people didn't run into this issue since I heard this patch system is pretty popular?
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Does the script have customization options, and have you set them correctly?

Original thread: https://forums.rpgmakerweb.com/threads/important-script-causing-black-tilesets.16710/