From 163abb107c9225e7dc681de683f2b184be6c9f93 Mon Sep 17 00:00:00 2001 From: Wiktor Kocielski <118038102+Withaust@users.noreply.github.com> Date: Wed, 28 Dec 2022 16:23:54 +0300 Subject: [PATCH] GPUResource Name property glu e generation fix This fixes the issue when compiling the editor in the `Release` --- Source/Editor/Windows/Profiler/MemoryGPU.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Editor/Windows/Profiler/MemoryGPU.cs b/Source/Editor/Windows/Profiler/MemoryGPU.cs index 3d1a4f7de..ad02772df 100644 --- a/Source/Editor/Windows/Profiler/MemoryGPU.cs +++ b/Source/Editor/Windows/Profiler/MemoryGPU.cs @@ -133,7 +133,9 @@ namespace FlaxEditor.Windows.Profiler { resource = new Resource { +#if !BUILD_RELEASE Name = gpuResource.Name, +#endif Type = gpuResource.ResourceType, };