TSoftClassPtr::SoftObjectPtr
#include "UObject/SoftObjectPtr.h"
Access: private
Description
The underlying untyped soft object pointer that stores the path and weak reference to the class asset. All TSoftClassPtr operations delegate to this member.
Caveats & Gotchas
- • Direct access is restricted to private — you must use the public API (Get, LoadSynchronous, ToSoftObjectPath) to interact with the stored reference.
- • The pointer stores both the soft path string and a cached weak pointer; after loading, the weak ptr may still become stale if the object is garbage collected and the cache is not invalidated.
Signature
FSoftObjectPtr SoftObjectPtr Tags
Version History
Introduced in: 4.17
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?