-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReflectionTypeLoadException when Harmony is missing #6
Comments
Hi there! Yes, I am already aware of the TypeLoadExceptions when users have not yet installed Harmony before loading this mod. Such error is allowed here (or even allowed in my other Cities Skylines mods) because, as I utilized CitiesHarmony to get HarmonyLib in the past, CitiesHarmony did not offer any middle ground and I was unable to think of a good way of solving it. CitiesHarmony's auto-self-subscription goes against my personal philosophy, and, knowing that they only offer these two options:
it was too much work trying to implement this, which is what I desired:
Still, I'm glad to hear about a new Harmony provider in CSL that may work better than CitiesHarmony. I will investigate that in detail some time later when I have more time for other things. Leaving this open for now. |
Still, as some additional info, with me only interested in HarmonyLib and not the fancy compulsory wrapper libraries that came with it, all my CSL mods right now were built with the assumption that CitiesHarmony is the only provider of HarmonyLib, which is not necessarily sound now that we have an alternative Harmony provider. |
I understand your concern about auto-subscription, and have taken it as a feature request (drok/Harmony-CitiesSkylines#14) to provide an API method to get the Harmony ready callback without triggerring auto-subscription. If you have other feature requests, please add them as issues on my Harmony Repo: https://github.com/drok/Harmony-CitiesSkylines/issues |
Thank you very much! I am looking forward to the release of your version of Harmony provider! Edit: Apparently it is already released here lol, but still! Thank you very much! I'll look into it some time later. https://steamcommunity.com/sharedfiles/filedetails/?id=2399343344 |
Hi Vectorial, I think I found a bug in this mod. The technical detail of why this happens is described at drok/Harmony-CitiesSkylines#9
It happens in corner cases like the user not having Harmony installed yet. See the issue post above for more scenarios in which it happens.
I found this by using my new Harmony mod, which sniffs out issues like this.
The text was updated successfully, but these errors were encountered: