Do not use the actual class destructor. Unreal provides alternatives both available in BP and C++
-
Event Destroyed → Called once the actor receives the command to be added to garbage collection.
-
Event End Play → Called once the actor is ready to be added to garbage collection. You can also switch on the reason to ensure it fires in only certain circumstances.
Thanks
Alex