BepInEx / HarmonyX

Harmony built on top of MonoMod.RuntimeDetours with additional features
MIT License
373 stars 44 forks source link

Fix AccessTools.GetTypesFromAssembly sometimes returning an array with a null in it #80

Closed ManlyMarco closed 11 months ago

ManlyMarco commented 1 year ago

GetTypes can sometimes not throw on some assemblies with unloadable types and instead return an array with some nulls in it. No idea why it happens exactly, but it is a thing.