Make an Actor kill himself

So yeah, title sounds like some sick idea for a snuff film. In fact, I’m trying to convince an object from AActor child class to… ehm, kill itself, I mean to prematurely end it’s existence from the method inside the class. I tried with Destroy, EndPlay and K2_DestroyActor, nothing seems to work, and both Destroys cause editor to crash. Even GetWorld->DestroyActor called from inside seems to be the bad idea. For now I have no more ideas. Maybe I could mark actor to be killed after it’s turn in editor queue, but I think there is some more clever method.

Ehm. Ok, I am stupid. MarkPendingKill is a method to… mark an actor to be killed after his turn. I had additional problem, because I was calling an actor right after spawning… and for tests it was killing himself right after spawning. Lul.