WeakPrimitiveArrayFormatter.Read didn't read anything

Issue #850 resolved
hugh created an issue

WeakPrimitiveArrayFormatter.Read

case PrimitiveArrayType.PrimitiveArray_char:
    {
        char[] readValue;
        reader.ReadPrimitiveArray<char>(out readValue);
    }
    break;

Missing “value = readValue;” , this will make IL2CPP game can’t deserialize primitive array fields.

Comments (1)

  1. Tor Esa Vestergaard

    Well, that's an embarassing miss that we didn't hit during testing and all these months of preview! Thanks for the catch, it has been fixed. The fix will release in the next beta patch 3.1.0.12, which is likely to release late this week or early next week. If you would like a preview version of the next patch with the fix included, please contact me on our Discord and I'll send it over :)

  2. Log in to comment