bool FApp::ShouldUseThreadingForPerformance()
{
static bool OnlyOneThread =
FParse::Param(FCommandLine::Get(), TEXT("ONETHREAD")) ||
FParse::Param(FCommandLine::Get(), TEXT("noperfthreads")) ||
**IsRunningDedicatedServer()**||
!FPlatformProcess::SupportsMultithreading() ||
FPlatformMisc::NumberOfCoresIncludingHyperthreads() < MIN_CORE_COUNT;
return !OnlyOneThread;
}
why???
this means dedicated server builds are **unable **to make use of asyncTraces or anything to do with taskgraph and async threads… i have tested this and its true, no threading happens in packaged builds.