From 6fe6ba20fbe9de503c6058757eb76b82e5890815 Mon Sep 17 00:00:00 2001 From: Zode Date: Sat, 26 Apr 2025 21:40:12 +0300 Subject: [PATCH] Fix profiler memory propagation --- Source/Editor/Windows/Profiler/CPU.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Windows/Profiler/CPU.cs b/Source/Editor/Windows/Profiler/CPU.cs index 811c34600..d034a058b 100644 --- a/Source/Editor/Windows/Profiler/CPU.cs +++ b/Source/Editor/Windows/Profiler/CPU.cs @@ -492,7 +492,7 @@ namespace FlaxEditor.Windows.Profiler { break; } - subEventsMemoryTotal += sub.ManagedMemoryAllocation + e.NativeMemoryAllocation; + subEventsMemoryTotal += sub.ManagedMemoryAllocation + sub.NativeMemoryAllocation; } string name = e.Name.Replace("::", ".");