You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel the current code is maybe error prone, since TObjectPtr or TWeakObjectPtr both are translated to UObject*.
There's no guarantee both are saving UObject* directly.
I haven't read through their implementation, but it seems TWeakObjectPtr is not saving pointer value, instead if it save ObjectIndex to query GUObjectArray.
The text was updated successfully, but these errors were encountered:
Hi,
Why the code is like this:
Instead of
I feel the current code is maybe error prone, since TObjectPtr or TWeakObjectPtr both are translated to UObject*.
There's no guarantee both are saving UObject* directly.
I haven't read through their implementation, but it seems TWeakObjectPtr is not saving pointer value, instead if it save ObjectIndex to query GUObjectArray.
The text was updated successfully, but these errors were encountered: