Description
Raw pointer to the referenced object. This is a non-owning observation pointer; the object may have already been destroyed even when this is non-null.
Caveats & Gotchas
- • Object being non-null does not mean the referenced object is alive — always use IsValid() or Pin() to safely access the object, never dereference Object directly (it is private).
- • During the intrusive TOptional unset-state sentinel, Object is set to (ObjectType*)-1, which means pointer arithmetic or address comparisons on this field outside of UEOpEquals will give nonsensical results.
Signature
ObjectType* Object Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?