Hi,
I’ve noticed something strange today: I had two UEngine->AddOnScreenDebugMessages(…) in a function and when I called the function in my blueprint, the display order of the messages was reversed. I tested it then with an extra function:
void APoissonDistributedHemisphere::printOrderTest()
{
GEngine->AddOnScreenDebugMessage(-1, 15.f, FColor::Yellow, FString::Printf(TEXT("1")));
GEngine->AddOnScreenDebugMessage(-1, 15.f, FColor::Yellow, FString::Printf(TEXT("2")));
GEngine->AddOnScreenDebugMessage(-1, 15.f, FColor::Yellow, FString::Printf(TEXT("3")));
GEngine->AddOnScreenDebugMessage(-1, 15.f, FColor::Yellow, FString::Printf(TEXT("4")));
GEngine->AddOnScreenDebugMessage(-1, 15.f, FColor::Yellow, FString::Printf(TEXT("5")));
}
and when I called the blueprint function, I saw indeed the reversed order:
Is this behaviour intended?