You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClassInjector.SystemTypeFromIl2CppType finds types by querying IL2CPP for their full name and assembly name and then using the managed Type.GetType on a string constructed from it, which fails when they have the Il2Cpp prefix added to them. I made a hacky fix, which just tries adding Il2Cpp if it fails without it, but there should probably be a better way that somehow checks if it's being prefixed.
The text was updated successfully, but these errors were encountered:
ds5678
changed the title
ClassInjector.SystemTypeFromIl2CppType fails when types are prefxied.
ClassInjector.SystemTypeFromIl2CppType fails when types are prefixed.
Jul 15, 2024
Enums currently have an original name attribute (when their namespace is prefixed). I would be open to expanding that to all types which had their namespace prefixed.
ClassInjector.SystemTypeFromIl2CppType
finds types by querying IL2CPP for their full name and assembly name and then using the managedType.GetType
on a string constructed from it, which fails when they have theIl2Cpp
prefix added to them. I made a hacky fix, which just tries adding Il2Cpp if it fails without it, but there should probably be a better way that somehow checks if it's being prefixed.The text was updated successfully, but these errors were encountered: