Anyone got this working? @Hellcat Trying to compile the project for 5.1 and get this error:
1>B:\GITHUB\UE5-SimpleUGC\Plugins\SimpleUGC\Source\SimpleUGCEditor\Private\SimpleUGCPackager.cpp(173): error C2664: 'void IUATHelperModule::CreateUatTask(const FString &,const FText &,const FText &,const FText &,const FSlateBrush *,const TArray<FAnalyticsEventAttribute,FDefaultAllocator> *,IUATHelperModule::UatTaskResultCallack,const FString &)': cannot convert argument 6 from 'FSimpleUGCPackager::PackagePlugin::<lambda_04bd8b0a342317cf58f95f8d8fe257d6>' to 'const TArray<FAnalyticsEventAttribute,FDefaultAllocator> *'
1>B:\GITHUB\UE5-SimpleUGC\Plugins\SimpleUGC\Source\SimpleUGCEditor\Private\SimpleUGCPackager.cpp(182): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Caused by this code:
IUATHelperModule::Get().CreateUatTask(CommandLine, PlatformName, PackagingText,
PackagingText, FSimpleUGCEditorStyle::Get().GetBrush(TEXT("SimpleUGCEditor.PackageUGCAction")),
[ReleaseVersion, PlatformName, FriendlyName, OutputDirectory, StagePath, StagePathPackedMod]
(FString TaskResult, double TimeSec)
{
// move the actual mod files into the requested output dir and cleanup the staging area
IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
PlatformFile.CopyDirectoryTree(*OutputDirectory, *StagePathPackedMod, true);
PlatformFile.DeleteDirectoryRecursively(*StagePath);
});