MZ Game Crashes at Startup when updating Core Script from 1.7.0 to 1.9.0 with FOSSIL plugin

EDIT: I found a solution below.

When going to Game > Update Corescript and updating from 1.7.0 to 1.9.0 my game crashes at startup with this error. I think this is related to FOSSIL as the game works without enabling it.

1751203721368.png


The error I get is "Cannot use 'in' operator to search for 'iconSize' in null. I will attach a screenshot of the console. I don't know if I'm giving enough information about this error since I don't know what is causing it, but I can provide more information if necessary. Any help is appreciated. :LZSproud:
This usually means that one or more of your plugins needs to be updated as well.

The reason why core update have to be done manually is that in some cases the changes to the core break plugins until their programmers update them - and if the programmer no longer is part of the community such an update might never happen.

so test which plugins can be updated, do the updates in a copy and then update the core of that copy and test again. If it then works, nice - if not you'll have to find the plugin that is too old and search for a replacement.

and that the error is reported by fossil does not mean that the error is in fossil, because fossil is basically an API converting MV plugins and any of those MV plugins can cause an error in fossil.
But update fossil anyway if possible
EDIT: Solved for now.

This is the solution I found, and it seems to be working.


https://forums.rpgmakerweb.com/inde...mz-300-plugins-fossilized.135523/post-1500460

Thank you for your response.

Unfortunately the FOSSIL plugin is no longer supported, and I don't know how to patch this plugin to make it work again in 1.9.0.

This is why I'm asking for help to people that may have a better grasp of Javascript than me, so that I may know which parts of the FOSSIL plugin cause this problem and how I should edit the plugin to get it working again.

No other plugins seems to give an error in the Console.
MX added new features with versions 1.8 and 1.9 that FOSSIL does not have in it. You'd need to patch it to account for those.

That exact error is because it is not accounting for the fact that you can set icon sizes now. But you'll later hit similar issues as another version added options to adjust face sizes and such.

Basically anything new to MZ in version 1.8 and 1.9 you'll need to patch.
Aesica made an updated FOSSIL for 1.9. It's on the last page of the FOSSIL thread. Maybe a mod could edit the first post of that thread to add the link to it.

Post in thread 'Project FOSSIL (v1.0): Use MV plugins in MZ! 300+ plugins Fossilized!' https://forums.rpgmakerweb.com/inde...mz-300-plugins-fossilized.135523/post-1500460
Thank you! I have already linked to this solution in my last post.
MX added new features with versions 1.8 and 1.9 that FOSSIL does not have in it. You'd need to patch it to account for those.

That exact error is because it is not accounting for the fact that you can set icon sizes now. But you'll later hit similar issues as another version added options to adjust face sizes and such.

Basically anything new to MZ in version 1.8 and 1.9 you'll need to patch.
Just as a small side note. The patches are only necessary because the core developers made a mistake in the update.


Maybe they should make a 1.9.1 fix for that.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/game-crashes-at-startup-when-updating-core-script-from-1-7-0-to-1-9-0-with-fossil-plugin.178618/