ThinkInvis / RoR2-TILER2

A library mod for Risk of Rain 2.
GNU General Public License v3.0
2 stars 1 forks source link

ArtifactCatalog SystemInitializer is called too early #28

Open VarnaScelestus opened 2 years ago

VarnaScelestus commented 2 years ago

Something in the mod causes the SystemInitializer to activate too soon for ArtifactCatalog, causing all mods that are loaded after TILER2 that depend on that functionality to break.

Bubbet (in the modding discord) ran into a similar issue in one of his mods where this happened because he was using a Harmony patch in the same class as a SystemInitializer. Not sure if you're doing the same but I thought it might be a good starting point to mention.

ThinkInvis commented 2 years ago

This is an issue with how SystemInitializer scanning works. It needs to be changed to handle an exception caused by any mod that has a missing soft dependency. R2API or RoR2BepInExPack might have a fix for it now or soon.