sneakyevil / IL2CPP_Resolver

A run-time API resolver for IL2CPP Unity.
https://sneakyevil.gitbook.io/il2cpp-resolver/
The Unlicense
360 stars 66 forks source link

Class::Find method doesn't find the class I need it return null_ptr #53

Closed SVO-ARBUZ closed 3 months ago

SVO-ARBUZ commented 3 months ago

What is the game you are using with IL2CPP Resolver?

SCP:SL

Details:

Class::Find method doesn't work with Any of classes

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

Unity::il2cppClass* CentralAuthScript = IL2CPP::Class::Find("Il2CppCentralAuth.CentralAuthManager"); printf_s("ptr: %p\n", CentralAuthScript); // NOLINT(cert-err33-c)

svorogaze commented 3 months ago

Try getting it like this: Unity::il2cppClass* CentralAuthScript = IL2CPP::Class::Find("CentralAuth.CentralAuthManager"); At least works for me