Skip to content
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

ClassInjector.SystemTypeFromIl2CppType fails when types are prefxied. #135

Open
WNP78 opened this issue Jun 20, 2024 · 0 comments
Open

ClassInjector.SystemTypeFromIl2CppType fails when types are prefxied. #135

WNP78 opened this issue Jun 20, 2024 · 0 comments

Comments

@WNP78
Copy link

WNP78 commented Jun 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant