Il2CppInterop icon indicating copy to clipboard operation
Il2CppInterop copied to clipboard

2d array can't be read and write in 1.5.0, keeping complaining nullref inside the getter method

Open ghost opened this issue 6 months ago • 1 comments

In MelonLoader 0.7.1(using il2cppinterop 1.5.0), all il2cpp 2d arrays cannot be accessible at all I was trying to read and write a 2d array, but to my surprise, System.NullReferenceException was thrown in the getter method. I was even unable to do a non-null check of it. In MelonLoader 0.7.0(using il2cppinterop 1.4.6) it worked very well, but in 0.7.1 it kept throwing exception.

Image

Image

Image

Image

ghost avatar Jul 03 '25 05:07 ghost