UKismetSystemLibrary::CollectGarbage

Deletes all unreferenced objects, keeping only referenced objects (this command will be queued and happen at the end of the frame)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h

Include

#include "Kismet/KismetSystemLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp

Syntax

static void CollectGarbage()

Remarks

Deletes all unreferenced objects, keeping only referenced objects (this command will be queued and happen at the end of the frame)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss