Remove "r.GPUStatsMaxQueriesPerFrame" cvar and associated logic in GPU profiler
- The "overflow" event logic is broken since the latest RHI refactor as the location the EndFrame / Clear happens has changed.
- Since the underlying bugs / memory inefficiencies that prompted the addition of this cvar have been solved, we don't need to keep any of this now. See below for details.
Query workarounds:
Remove workaround for memory leak in blueprint debugger
- Workaround was added in UE 4.26 CL 14541591, but has been superceeded by another workaround added in UE 5.0 CL 20674492.
- It is no longer necessary to change GPU profiler cvar values before/after blueprint debugging to prevent a memory leak.
Remove D3D12 excessive memory usage workaround in D3D12RHI.cpp
- r.GPUStatsMaxQueriesPerFrame was set to 8192 at RHI startup. Previous implementation of queries in D3D12 was very wasteful on memory.
- The modern implementation packs individual queries into heaps, which greatly reduces the overhead. It is no longer necessary to limit the number of queries in a frame.
Misc changes:
Remove FDynamicRHI::RHICreateRenderQueryPool function
- None of the platform RHIs provided an implementation that didn't just return a new FDefaultRHIRenderQueryPool.
Remove NumQueries from FDefaultRHIRenderQueryPool
- The value is never used by platform RHIs, and it only causes ensures in cases where the num is too small for what is actually used.
#jira UE-205211, UE-218537
#rb ben.woodhouse
[CL 34607450 by luke thatcher in ue5-main branch]
In BaseEditor.ini set the default value for ImpulseUnits and PositionalImpulseUnits.
#jira UE-217687
#rb brooke.hubert
[CL 34284795 by ross smith2 in ue5-main branch]
It is causing "LogCook: Error: PackageSplitter found an existing copy of a package it was trying to populate;this is unexpected since garbage has been collected and the package should have been unreferenced so it should have been collected."
[FYI] matt.peters
Original CL Desc
-----------------------------------------------------------------
[Resubmit] MPCook: CookPackageSplitter: Toggle enable retraction of generated packages.
#jira UE-188805
#jira UE-177380
#rnx
[CL 32639018 by matt peters in ue5-main branch]
Original CL Desc
-----------------------------------------------------------------
MPCook: CookPackageSplitter: Toggle enable retraction of generated packages.
[CL 32563076 by matt peters in ue5-main branch]
MPCook And CookPackageSplitter: Implement on demand creation and splitting of generator packages rather than only creating them during save.
#jira UE-188805
#jira UE-177380
#rnx
#rb Zousar.Shaker
[CL 32468020 by matt peters in ue5-main branch]
[FYI] Matt.Peters
Original CL Desc
-----------------------------------------------------------------
MPCook And CookPackageSplitter: Implement on demand creation and splitting of generator packages rather than only creating them during save.
#jira UE-188805
#jira UE-177380
#rnx
#rb Zousar.Shaker
[CL 32446435 by bob tellez in ue5-main branch]
The default templates for new game feature plugins were moved as part of this and you may need to update your game's defaulteditor.ini file if it overrides the defaults
#rb Eric.Knapik
[CL 31065946 by ben zeigler in ue5-main branch]
#jira UE-205211
[FYI] luke.thatcher
#tests tested in editor and with a replayrun preflight with the cvar disabled
[CL 31055966 by ben woodhouse in ue5-main branch]
ModuleManager: Add version of ModuleExists that also returns the discovered filename of the .dll.
PackageName: Add TryConvertScriptPackageNameToModuleName.
#rb Zousar.Shaker
#rnx
[CL 30600379 by matt peters in ue5-main branch]