-
Notifications
You must be signed in to change notification settings - Fork 189
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
Problem with passing value type to function #498
Comments
Seems like in my game there is no implementation for List<System.Int32>.Add If somebody has any workarounds how to create this object please tell me. |
Maybe some methods from mscorelib.dll were stripped? Can I create this object directly in the memory and pass it to the function as a parameter after that? Any help is apreciated <3 |
Call |
I did it. I tried different ways. There is no problem in different game. Looks like there are not such method in compiled il2cpp code. So I need to recreate the whole structure somehow. |
Still have such problem |
still not solved? const list = Int32List.alloc();
list.method(".ctor").invoke();
list.add(1337); |
Error: access violation at 0x1 ...
Seems like it treats argument as address. Need some workaraounds asap
The text was updated successfully, but these errors were encountered: