Structs with the Attribute [Array]
must not have (not const
) fields apart from the Anchor
field.
You can also use the provided automatic Code Fix to delete the field declaration. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Remove the field declaration.