You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does look a little bit like an IL2CPP bug as this is definitely all valid C#.
My guess is this comes from MemberConflicts.cs, on line 16 there is a MemberModifierFlags?. Can you check if removing the question mark from that line fixes your IL2CPP error?
Amazing, it works (I guess you meant MemberUtilities.cs)?
I also contacted Unity and submitted a bug but sometimes it takes them a while.
Another little issue, when declaring a private field without an assignment the private flag is ignored, for Ex.
Class A
{
private var a;
}
Maybe this scenario should be handled in ClassDefinitionStatement line No. 185 by adding the field?
case TokenType.SemiColon:
fields.add(...)
break;
The question is how can we add a field with a zero/Nil assignment?
Unity 2022.2.12 IL2CPP android build failed:
error: cannot convert 'Nullable_***' to 'int32_t' (aka 'int') without a conversion operator
bool L_44 = il2cpp_codegen_enum_has_flag((int32_t)L_40, (int32_t)L_43);
Probably IL2CPP bug but maybe you could point us to the right direction?
Cheers.
The text was updated successfully, but these errors were encountered: