How to log the length of a struct array in string or integer?

int32 arrsize = sizeof(Arr);
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Orange, FString::Printf(TEXT("Struct Size: %d"), arrsize));

hope it helps
cheers

1 Like