Horrible sudden bugs -- seeking urgent help

Hi all --

I've got a terrible situation that is far beyond me and I'm urgently seeking help for a project I've been working on for 7 years.

I was experimenting tonight with pre-title events, as well as custom title screen alterations.

It didn't work the way I wanted, so I removed the plugins. However, now RPG Maker seems to be permanently messed up.

Prior to trying these plugins (a Hime plugin, and a SumRandmDude plugin, both pretty well known and tested), I was able to hit F4 to toggle fullscreen when playtesting).

Now, even though the plugins are disabled, I both am unable to resize with F4, but sometimes get random errors that prevent game loading.

The weird thing is, I continue to get both these errors not only when i load up older backup projects, but also after uninstalling and reinstalling RPG Maker 1.6.

I had no idea that experimenting with plugins could make permanent changes to the operating system such that even reinstalling the software keeps persistent bugs.

I'm truly hoping that someone could help with some method of totally resetting RPG Maker so that these changes -- if that's actually what's happened -- could be turned back.

-c

EDIT: Through some combination of loading and unloading Hime's pre-title sequence (which I do NOT suspect was the culprit) and SRD's Game Upgrade + Title Choices (which I suspect is), F4 now works and I no longer get the error. However, very weirdly, RPG Maker's icon in my windows taskbar is now just a plain sheet of paper -- I'm very, very weirded out by all this, since I had no idea that a plugin could make such permanent changes to the software install. Might anyone have any thoughts about what is going on here?

EDIT 2: Loading in a very, very recent backup, which was backed up after confirming it worked, still gives an error of "Cannot set property '_layer' of undefined". To confirm, I never saw anything like this prior to trying out the SRD plugins. Those plugins were attempted on a totally different version of the project, and the plugins are not even installed in this project.

I cannot fathom how installing a plugin can continue to cause problems not just on older, perfectly working projects, but even after reinstallation.

EDIT 3: Pardon the spam!

I uninstalled RPG Maker using Revo Uninstaller, which totally removes all files and folders associated with the install. Then I reinstalled, and rebooted. The dark theme is off now, which confirms that at least some of the RPG Maker setting files is gone. Again, the current project works, but NONE of my backups can playtest successfully. They all throw the "_layer" error.

Other strangeness -- on both the working current project as well as most recent backups, on playtest the logo in the Windows taskbar is no longer the RPG Maker castle logo, but a plain gray box:

2022-09-03 04_48_20-.png


In addition, though starting a new game in the backups throws the _layer error, it DOES load saved games, though with a "Now loading" screen first, which I disabled so long ago I cannot even recall how I did it.

I'm not content to just assume that my current project is now fine, and to move forward from here by replacing the main backup with this project. I'm super weirded out by this situation, where simply loading in some plugins, then uninstalling them, causes problems which then apply to not just backups, but also persist after thorough reinstalls.

OR, there's some incredibly obvious user error component here, and I'd be thrilled to learn that this the case.

Many thanks.
c
Experimenting with plugins will not have these kinds of very strange effects you are describing.
I fear through panicing and removing RPG Maker with third party software before reinstalling it, you may have introduced seperate additional errors (such as the logo no longer being displayed correctly, but rather degaulting to the built in ... well default).
The most likely reasons for the strange behavior you are experiencing are:
- Loading save files instead of starting a new game after making changes to the project's plugins. (This would explain some, but not all errors you are experiencing)
- The source of these errors is something else entirely. It was mere coincidence that you discovered them after removing this or that particular plugin.

A first useful step would be to show us the entire error trace you are seeing. If you have Yanfly's Core engine installed, a screenshot of the crash should suffice. Otherwise please post a screenshot of the console (F8, you may need to switch tabs in the new window to the one actually called console) after the crash happens.
Experimenting with plugins will not have these kinds of very strange effects you are describing.
I fear through panicing and removing RPG Maker with third party software before reinstalling it, you may have introduced seperate additional errors (such as the logo no longer being displayed correctly, but rather degaulting to the built in ... well default).
The most likely reasons for the strange behavior you are experiencing are:
- Loading save files instead of starting a new game after making changes to the project's plugins. (This would explain some, but not all errors you are experiencing)
- The source of these errors is something else entirely. It was mere coincidence that you discovered them after removing this or that particular plugin.

A first useful step would be to show us the entire error trace you are seeing. If you have Yanfly's Core engine installed, a screenshot of the crash should suffice. Otherwise please post a screenshot of the console (F8, you may need to switch tabs in the new window to the one actually called console) after the crash happens.

Thanks for the voice of reason here. Panicking is right!

We've all been there, I suppose.

I'll investigate tomorrow -- I just tried the previously-broken backup and indeed after turning off all plugins, it works. That's enormously relieving to know that a plugin does not have the type of capability to make such deep changes.

The logo changing is a different matter -- that was the case prior to any reinstall.

But I will definitely dig in and update -- thanks again for taking the time.

-c
Okay so going back to the broken backup, it launches fine with all plugins disabled. When they're back on the console doesn't give meaningful errors, just lists like 10 plugins with unspecific errors, which is what it does when only one of them is messing up 😛

I'd consider this closed for now, because there's just too many variables and I can't afford to spend the time to toggle one plugin at a time. I'll start a new thread with more specifics if the problem resurfaces.

Thanks!
When they're back on the console doesn't give meaningful errors, just lists like 10 plugins with unspecific errors
When that number of plugins are involved, it is usually a faulty plugin command. However we can't tell you for sure if you don't show us the error trace. What may seem like an unspecific error to you may tell someone who experienced something similar and found a fix all they need to know to help you.

I can't afford to spend the time to toggle one plugin at a time.
There is actually a faster way. Toggle half of your plugins and test them. If the error occurs, you ruled out the other half. If the error doesn't occur you ruled out this half. Then you can split the half you now know is responsible again into two halfs and so on. This approach vastly decreases the number of testing iterations you need to do to find the plugin at fault. (I believe it reduces the time from linear to logarithmic, if I remember my Algorithms and Data Structures lessons correctly. But that was a long time ago 😅)
When that number of plugins are involved, it is usually a faulty plugin command. However we can't tell you for sure if you don't show us the error trace. What may seem like an unspecific error to you may tell someone who experienced something similar and found a fix all they need to know to help you.


There is actually a faster way. Toggle half of your plugins and test them. If the error occurs, you ruled out the other half. If the error doesn't occur you ruled out this half. Then you can split the half you now know is responsible again into two halfs and so on. This approach vastly decreases the number of testing iterations you need to do to find the plugin at fault. (I believe it reduces the time from linear to logarithmic, if I remember my Algorithms and Data Structures lessons correctly. But that was a long time ago 😅)

This was a lesson that I learned far too late -- the ability to toggle many plugins at once. I have to be honest though, I hadn't considered your idea of doing half at one time. That's as simple as it is clever.

What you mentioned about a faulty plugin command is on the money. That entire unfortunate episode made me go in and really sort through that weird list of errors in the log. Result is a cleaned up project that isn't throwing any errors!

Thanks so much for your help, and pardon the possible necropost.

Original thread: https://forums.rpgmakerweb.com/threads/horrible-sudden-bugs-seeking-urgent-help.151044/