diff --git a/Source/Engine/Platform/Base/PlatformBase.cpp b/Source/Engine/Platform/Base/PlatformBase.cpp index 1c5ad0e09..4d9231b3e 100644 --- a/Source/Engine/Platform/Base/PlatformBase.cpp +++ b/Source/Engine/Platform/Base/PlatformBase.cpp @@ -172,7 +172,7 @@ void PlatformBase::OnMemoryAlloc(void* ptr, uint64 size) if (!ptr) return; -#if TRACY_ENABLE +#if TRACY_ENABLE && !USE_EDITOR // Track memory allocation in Tracy //tracy::Profiler::MemAlloc(ptr, size, false); tracy::Profiler::MemAllocCallstack(ptr, size, 12, false);