Thus we now load the regularly loaded plugins from the BepInEx API and additionally include the dynamic plugins.
This is quite stupid currently as the ConfigurationManager finds exactly zero plugins right now (minus potential dynamically loaded ones). A quick merge and release would be appreciated.
Also note the .Distinct() in order to avoid it breaking with older BepInEx versions.
BepInEx 5.4.10 hides its plugins now via HideAndDontSave (see commit https://github.com/BepInEx/BepInEx/commit/0a25349ac442f2ff928f56545258c9cf7fba5d76), which causes any regularly loaded plugins to not be found with FindObjectsOfType() anymore.
Thus we now load the regularly loaded plugins from the BepInEx API and additionally include the dynamic plugins.
This is quite stupid currently as the ConfigurationManager finds exactly zero plugins right now (minus potential dynamically loaded ones). A quick merge and release would be appreciated.
Also note the
.Distinct()
in order to avoid it breaking with older BepInEx versions.