UE 5 Unreal Frontend Profiler removed?

I found some information about the missing profiler panel in this file Build.h last line:

// Controls whether old Profiler (UnrealFrontend/SessionFrontend/Profiler) is enabled or not.
// Old Profiler is deprecated since UE 5.0. Use Trace/UnrealInsights instead.
#ifndef UE_DEPRECATED_PROFILER_ENABLED
	#define UE_DEPRECATED_PROFILER_ENABLED 0
#endif

And this file SSessionFrontend.cpp Line 203:

#if STATS && UE_DEPRECATED_PROFILER_ENABLED
	else if (TabIdentifier == ProfilerTabId)
	{
		IProfilerModule& ProfilerModule = FModuleManager::LoadModuleChecked<IProfilerModule>(TEXT("Profiler"));
		TabWidget = ProfilerModule.CreateProfilerWindow(SessionManager.ToSharedRef(), DockTab);
	}
#endif

We can use it by enable the macro.

6 Likes