UKismetGuidLibrary::NewGuid
#include "Kismet/KismetGuidLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Generates a new, statistically unique GUID.
Caveats & Gotchas
- • Each call produces a different, effectively-unique value — it is not deterministic and cannot be reproduced from a seed, so it isn't suitable for content that needs stable IDs across runs (use a fixed FGuid or a name-based key instead).
- • Internally wraps FGuid::NewGuid(), which is not guaranteed to be cryptographically secure — do not rely on it for security-sensitive tokens.
Signature
static FGuid NewGuid(); Return Type
FGuid Example
Generate a unique identifier C++
const FGuid SessionId = UKismetGuidLibrary::NewGuid(); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?