Why does FAutoDeleteAsyncTask get a DestroyObject error using the smart pointer?


6A3DA934-A182-4295-8F66-063D686FD1C4

Because its auto-delete, so the task destroy itself after work. And then, smart pointer going out of scope tries to delete something that has already been deleted.

You don’t need to manage(by smart pointer) a resource that manages itself(auto delete task).