Examples
Common workflows and use cases for Elys License Manager.
Example 1: Setting Up License Tracking for a New Pack
Scenario: You just purchased a props pack from the FAB Marketplace and want to track it.
Steps:
- Open Tools > Elys License Manager > License Manager
- Click "+ New Source"
- Enter pack details:
- Pack Name: "Medieval Props Pack"
- Publisher: "Epic Marketplace"
- Purchase URL: The FAB product page URL
- Click Save
- Click "Add Folder"
- Browse to the folder where you installed the pack (e.g.,
/Game/MedievalProps) - All assets in that folder are now tracked
Example 2: Pre-Release Cleanup
Scenario: Before shipping, clean up development assets and test content.
Steps:
-
Scan for dependencies
FERP_AssetDependencyScanResult Result = Subsystem->ScanFolder("/Game/Test");
if (Result.bSafeToDelete)
{
Subsystem->SafeDeleteFolder("/Game/Test");
} -
Clean up empty folders
Subsystem->DeleteEmptyFolders("/Game"); -
Purge dead license links
int32 Purged = Subsystem->PurgeAllDeadMappings();
Example 3: Auditing License Coverage
Scenario: Check how well your project's assets are covered by license sources.
Steps:
- Open the License Manager panel
- Switch to the Asset Explorer tab
- Scan
/Gameto see all assets - Review which assets have sources assigned and which don't
- Assign missing assets to their correct sources
Example 4: Merging Duplicate Sources
Scenario: You accidentally created two sources for the same pack and want to merge them.
Steps:
- Open the License Manager panel
- Select the source you want to merge away
- Click "Merge Into..."
- Select the target source from the list
- All asset mappings are transferred to the target
- The old source is deleted
// Via Blueprint
Subsystem->MergeSourceInto(DuplicateSource, OriginalSource, /*bDeleteAfter=*/ true);
Example 5: Automated Cleanup Script
Scenario: Create a utility widget that cleans up your project.
UCLASS()
class UProjectCleanupWidget : public UEditorUtilityWidget
{
UFUNCTION(BlueprintCallable)
void RunCleanup()
{
UERP_AssetInsightsEditorSubsystem* Subsystem =
GEditor->GetEditorSubsystem<UERP_AssetInsightsEditorSubsystem>();
// 1. Purge dead license links
int32 DeadLinks = Subsystem->PurgeAllDeadMappings();
UE_LOG(LogElysLicenseManager, Log, TEXT("Purged %d dead license links"), DeadLinks);
// 2. Delete empty folders
Subsystem->DeleteEmptyFolders("/Game");
// 3. Scan for broken references
FERP_AssetDependencyScanResult Result = Subsystem->ScanFolder("/Game");
if (Result.BrokenReferenceCount > 0)
{
int32 Fixed = Subsystem->FixBrokenReferences(Result);
UE_LOG(LogElysLicenseManager, Log, TEXT("Fixed %d broken references"), Fixed);
}
}
};
More Examples
For more examples and community contributions, visit:
Next Steps
- API Reference - Complete API documentation
- FAQ - Common questions and answers