Visual Logger
The Visual Logger is a tool provided by Epic to record events and shapes to a timeline which can then be scrubbed through. This is particularly useful for debugging server/client mismatches as it’s the only opportunity that we have to visualise both targets side by side (as usually the server and the client have the same state but at different times). In this example, the green figure is the servers representation and the white figure is what the client saw at the time of shooting.
The API allows you to split each category of info into its own feature toggle so you can be selective with the shown data. This data is also split into rows depending on the log owner so it is easy to understand which actor the log is referring to. Text can also be added to every log entry for additional debug info.
To extend this functionality for your own use, just call the macros described on this page. To ensure that the timeline matches up, the client and server must also wrap these macro calls with UGSWorldStateSubsystem::SetCustomVLogFrame
and UGSWorldStateSubsystem::ClearCustomVLogFrame
.