[BUG] Code is still ran after Destroy Actor
I have an object where when I hover the cursor over it, it get's destroyed via Destroy Actor. However, I have a Print String after it for testing and it still runs it. Im not sure if this is a fun or not, but it's extremely frusterating
asked Aug 12 '15 at 01:11 AM in Bug Reports
It's intended behavior, when you call Destroy() it will only mark actor to be destroyed (so called Pending Kill) and then it will be destroyed in next frame. This is for thread safety i assume, so it prevent object to be destroyed when other thread is half way to do something on it, if it would be destroyed other thread would cause a crash.
Follow this question
Once you sign in you will be able to subscribe for any updates here