Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/Editor/BlueprintEditorLibrary/UBlueprintEditorLibrary
Description
Compares the given soft object's save version to the VersionToCheck. This will read the packages file header
| Name | CompareSoftObjectSaveVersionTo |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
| Include Path | #include "BlueprintEditorLibrary.h" |
| Source | /Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Blueprint Upgrade Tools",
Meta=(ExpandEnumAsExecs="Result"))
static void CompareSoftObjectSaveVersionTo
(
const TSoftObjectPtr < UObject > ObjectToCheck,
const FString & VersionToCheck,
EAssetSaveVersionComparisonResults & Result
)
Parameters
| Name | Remarks |
|---|---|
| ObjectToCheck | Soft object pointer to the object whose save version you would like to compare. |
| VersionToCheck | String representation of the engine version to compare against. For example, "5.6.0-37518009+++UE5+Main" |
| Result | The outcome of the version comparison |
See Also
- GetSavedByEngineVersion and GetCurrentEngineVersion