BepInEx / HarmonyX

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

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

Closed ManlyMarco closed 6 months ago

ManlyMarco commented 11 months 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.