Hmm. I could possibly somehow limit the list of types to iterate and cache based on the Preferred Types that you have in the Preferred Types Editor only. However, il2cpp also has code stripping, thus types that are not “referenced” in link.xml should be stripped and not be used by ReflectionTools methods, but of course there a lot of other assemblies/types that are included non-the-less. Please also note that the default generated link.xml is including the whole c# assembly for convenience (which may be an overkill but can be modified).
With that said, your suggestion is nice. I will take a look at the ability to only make use of types explicitly added in the Preferred Types Editor. Please let me know if that sounds like a good solution for you.
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.