Writing Log Problem

hello i have just watched: " Writing To The Output Log " Video
and UE_LOG(LogTemp, Display, TEXT( “MoveDist: %f” )); doesn’t work
the %f stay in the color of the text and it makes error when i compilehttps://prnt.sc/r1DUbnfc3itm as you can see at this picture

i am Using RIDER IDE
Instead of VS IDE

You need to add a floating point argument as you have given the %f format specifier.

UE_LOG(LogTemp, Warning, TEXT("MoveDist %f"), /* missing floating point arg here */)

worked!, thank you very much

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms