Is it ok to use UE objects in non-UE classes?

Mh, I’m not sure if the current c++ standard has already an optional GC included. if you’re not using any smart pointers you have to handle it yourself. Have you tried a leak detector to determine what’s causing the leaks?