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

how to find classes that are not in the main unity dll #60

Open
SVO-ARBUZ opened this issue Sep 26, 2024 · 2 comments
Open

how to find classes that are not in the main unity dll #60

SVO-ARBUZ opened this issue Sep 26, 2024 · 2 comments

Comments

@SVO-ARBUZ
Copy link

What is the game you are using with IL2CPP Resolver?

SCP:SL

Details:

I can't find/call methods inside the Camera class such as Camera.ScreenPointToRay(Vector3), Camera.ViewportPointToRay(Vector3) and I can't find AudioSource.Play() and others. Most often it is the class

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

IL2CPP::Class::Utils::GetMethodPointer("AudioSource", "Play", 0)

@SVO-ARBUZ SVO-ARBUZ changed the title how to find classes that are not in the main dll how to find classes that are not in the main unity dll Sep 26, 2024
@nyrilol
Copy link

nyrilol commented Oct 2, 2024

i see the methods you described just fine in dnspy, can you not find them in code or?

also dont mean to hijack the issue, but how did you get it working on scp sl? seems to crash when using il2cpp::initialize

@SVO-ARBUZ
Copy link
Author

with initialization everything is fine but in the code I can not find these classes, with the rest which are in unityplayer.dll or unityengine.dll everything is fine, I started all at once with the help of injector with manual map

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

2 participants