I’m trying to export counter values of a .utrace
capture to a .csv
file, but all I get is an empty file.
The command I use is:
UnrealInsights.exe
-OpenTraceFile="D:\UnrealProjects\ThirdPerson\Insights\Test.utrace"
-NoUI -log -AutoQuit
-ExecOnAnalysisCompleteCmd="TimingInsights.ExportCounterValues D:\InsightsExport\CounterValues.csv -counter=* -region=EXPORT_CAPTURE"
The .utrace
capture is correctly analyzed, and the export command TimingInsights.ExportCounterValues
is catch by Unreal Insights.
I get this in the log:
[2025.09.30-08.07.51:313][184] Searching counters with name: "*"
[2025.09.30-08.07.51:313][184] Exporting values for 1988 counters...
[2025.09.30-08.07.51:313][184] Exporting counter: "STAT_TotalLLM" (id=0)
[2025.09.30-08.07.51:313][184]TraceInsights: Looking for regions: 'EXPORT_CAPTURE'
[2025.09.30-08.07.51:313][184]TraceInsights: Display: Detected 1 regions in 0.000s.
[2025.09.30-08.07.51:313][184]TraceInsights: Display: Exporting counter 0 for region 'EXPORT_CAPTURE' [194.809695 .. 198.719820] to 'D:\InsightsExport\CounterValues.csv'
[2025.09.30-08.07.51:325][184]TraceInsights: Exported counter 0 ("STAT_TotalLLM", 0 values) to file in 0.012s ("D:\InsightsExport\CounterValues.csv").
[2025.09.30-08.07.51:325][184]TraceInsights: Exported counter values for 1 regions in 0.012s.
[2025.09.30-08.07.51:325][184] Exporting counter: "STAT_TrackedTotalSummaryLLM" (id=1)
[2025.09.30-08.07.51:325][184]TraceInsights: Looking for regions: 'EXPORT_CAPTURE'
[2025.09.30-08.07.51:325][184]TraceInsights: Display: Detected 1 regions in 0.000s.
[2025.09.30-08.07.51:325][184]TraceInsights: Display: Exporting counter 1 for region 'EXPORT_CAPTURE' [194.809695 .. 198.719820] to 'D:\InsightsExport\CounterValues.csv'
[2025.09.30-08.07.51:329][184]TraceInsights: Exported counter 1 ("STAT_TrackedTotalSummaryLLM", 0 values) to file in 0.005s ("D:\InsightsExport\CounterValues.csv").
[2025.09.30-08.07.51:329][184]TraceInsights: Exported counter values for 1 regions in 0.005s.
...
But the resulting .csv
file is empty. I also tried removing the -region
, but I get the same result.
Is this a known issue that this command doesn’t work, or am I doing something wrong?
The capture has been made and analyzed with Unreal 5.6.1.