I’m missing the obvious…please point it out
PressurePlate->GetOverlappingActors(OUT OverlappingActors);
for (const auto* Actor : OverlappingActors)
{
TotalMass += Actor->FindComponentByClass()->GetMass();
/* This crashed the code */
UE_LOG(LogTemp, Warning, TEXT("%s on plate, total mass is: %s kg"), *Actor->GetName(), TotalMass);
}