Destroy UObject?

Hey does anyone know how to delete a UObject class?

Because at the moment I used ConditionalBeginDestroy() then nulled the pointer and this works the first run through of the program but the second it crashes???

Please can someone help me out, thank you!

All you need to do is call MarkPendingKill(). GC will then clear it up on the next pass.

1 Like

Thank you for this! :smiley: