How can I destroy an Object from Root Set?
I would like to ask how to destroy objects from Root Set (explicitly marked with RF_RootSet), as calling MarkPendingKill() throws an exception at assert: check(!IsRooted()). It seems that those objects cannot be deleted that way and I would like to know if removing RF_RootSet flag and then calling MarkPendingKill() is safe.
Thank in advance, cloud
why are you using root set ?to prevent GC?
I'd recommend just using UPROPERTY() for GC protection and not using the Root set
when I restart levels or change levels with actors I made part of the root set the game frequently crashed
Follow this question
Once you sign in you will be able to subscribe for any updates here