Unreal C++ Protip: Always include the current frame count in debug logging output. Low cost, high yield.

I find this to be surprisingly useful information, helps you to deeply understand the execution scheduling and to spot subtle timing issues or reveal surprising behaviour.

Can also be useful as a text filter for only showing relevant logs.

I like to add the frame counter as a consistent log prefix for all logs, even when I'm not necessarily trying to debug timing.

#ue5 #unrealengine