Hi.
If the pointer is nullptr then GC will work correctly?
I created a pointer in a .h file
UPROPERTY (Transient)
ULineOfSightComponent * ComponentForClone;
In the constructor, I am setting the pointer to nullptr.
ComponentForClone= nullptr;
In most cases it is nullptr and does not change on most actors then there will be no problem with Garbage Collection?
Or should the pointer not be nullptr for GC to work correctly?