Assertion failed: AlignedOffset == TypeLayout.Size

Using LAYOUT_FIELD micro to define your variable works for me

1 Like