UKismetSystemLibrary::MakeSoftClassPath
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintPureBlueprintThreadSafe
Description
Builds an FSoftClassPath from a string containing a full /folder/packagename.class path. Shown as the "Make SoftClassPath" node in Blueprint.
Caveats & Gotchas
- • For Blueprint classes, the path must point to the generated class asset (typically ending in _C), not to the Blueprint editor asset itself — passing the editor asset path silently fails to resolve as a class later.
- • No syntax or existence validation happens at construction time; errors only surface when something tries to resolve or load the path.
Signature
static ENGINE_API FSoftClassPath MakeSoftClassPath(const FString& PathString) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| PathString | const FString& | A full /folder/packagename.class path string. | — |
Return Type
FSoftClassPath Example
Build a soft class path to a Blueprint's generated class C++
FSoftClassPath ClassPath = UKismetSystemLibrary::MakeSoftClassPath(TEXT("/Game/Blueprints/BP_Enemy.BP_Enemy_C")); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?