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)