UE4 has garbage collection. That’s why in most of the cases your classes should be derived from UObject. If you’re using pointers and custom non-UObject classes you’ll have to deal with memory cleaning yourself.
UE4 has garbage collection. That’s why in most of the cases your classes should be derived from UObject. If you’re using pointers and custom non-UObject classes you’ll have to deal with memory cleaning yourself.