Does a UObject captured in lambda by value get retained?

This has the disadvantage of introducing a crash if the uobject is not yet removed from root during EndPlay (such as switching levels, exiting, etc).

1 Like