gc.CollectGarbageEveryFrame
gc.CollectGarbageEveryFrame is a console variable in Unreal Engine 5 (UE5). See what gc.CollectGarbageEveryFrame does, its values, and how to use this cvar in the Unreal console below.
Category: Remaining · Namespace:
gcHelp
Used to debug garbage collection...Collects garbage every frame if the value is > 0.
Usage
Unreal console (open with ~)
> gc.CollectGarbageEveryFrame 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in gc
gc.AdditionalFinishDestroyTimeGCVargc.AllowParallelGCVargc.AssetClustreringEnabledVargc.BlueprintClusteringEnabledVargc.CalculateHistorySizeCmdgc.CalculateTokenStreamSizeCmdgc.CreateGCClustersVargc.DumpPoolStatsCmdgc.DumpRefsToClusterCmdgc.FindStaleClustersCmdgc.FlushStreamingOnGCVargc.ForceCollectGarbageEveryFrameVar