Closed yukieiji closed 1 year ago
roleTypeNullAble
will get fixed by #77, you can use new Il2CppSystem.Nullable<RoleTypes>() { value = RoleTypes.Shapeshifter, has_value = true }
as a workaround in the meantime
testClassNullAble
is expected not to work because you are trying to use an il2cpp generic with a managed type (and you should inject it first), which won't work because il2cpp generics are AOT compiled, but I guess we should have a better error message
What happened?
Can't construct Il2cppSystem.Nullable. such as Il2cppSystem.Nullable(RoleTypes.Crewmate)
Steps to reproduce
BepInEx Distribution
Bleeding Edge from BepisBuilds
Log outputs
Environment