From 08705f764eaaa26ea363e5569d3d9b4c88115e20 Mon Sep 17 00:00:00 2001 From: n00mkrad <61149547+n00mkrad@users.noreply.github.com> Date: Sun, 9 Nov 2025 16:06:12 +0100 Subject: [PATCH] Null check for progress reporting when reading log --- CodeLegacy/Ui/InterpolationProgress.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeLegacy/Ui/InterpolationProgress.cs b/CodeLegacy/Ui/InterpolationProgress.cs index 9f6d0ea..1473d08 100644 --- a/CodeLegacy/Ui/InterpolationProgress.cs +++ b/CodeLegacy/Ui/InterpolationProgress.cs @@ -103,7 +103,7 @@ namespace Flowframes.Ui { if (!progressPaused && AiProcess.processTime.IsRunning) { - string lastLogLine = Logger.GetSessionLogLastLines(logFile, 1)?.Where(x => x.Contains("frame=")).LastOrDefault(); + string lastLogLine = Logger.GetSessionLogLastLines(logFile, 1)?.Where(x => x != null && x.Contains("frame=")).LastOrDefault(); int num = lastLogLine == null ? 0 : lastLogLine.Split("frame=")[1].Split("fps=")[0].GetInt(); if(num > 0)