If using TWeakObjectPtr (for example from render thread) and calling IsValid(true, true), can one be certain that the validity of that result will live through the scope where IsValid is called?
I need this to be certain that the GC will not collect memory while render thread is still using the object. I read somewhere in the documents that GC cleanup is synced however it can trail one or two frames behind.
I know there is FGCScopeGuard but I’m worried that will be overkill and lowers the performance significantly since it will stall the GC on other thread (afaik). Weak pointer seems much more lighter option.