Compilation errors

You can use BlueprintReadOnly for a private member with meta = (AllowPrivateAccess = “true”).
It seems that you mispelled “AllowPrivateAccess”.