Hi,getnamo
I’ve created an official sample programs in the third person,When i execute Unzip of the OnFire(),
code:

MyClass.h:
#include “UObject/NoExportTypes.h”
#include “ZipFileFunctionLibrary.h”
#include “MyClass.generated.h”
UCLASS()
class UNZIP2_API UMyClass : public UObject, public IZipUtilityInterface
{
GENERATED_BODY()
virtual void OnProgress_Implementation(const FString& archive, float percentage, int32 bytes) override;
virtual void OnDone_Implementation(const FString& archive, EZipUtilityCompletionState CompletionState) override;
virtual void OnStartProcess_Implementation(const FString& archive, int32 bytes) override;
virtual void OnFileDone_Implementation(const FString& archive, const FString& file) override;
virtual void OnFileFound_Implementation(const FString& archive, const FString& file, int32 size) override;
};
MyClass.cpp:
#include “Unzip2.h”
#include “MyClass.h”
void UMyClass::OnProgress_Implementation(const FString& archive, float percentage, int32 bytes)
{
UE_LOG(LogClass, Log, TEXT("OnProgress_Implementation!%lf"), percentage);
}
void UMyClass::OnDone_Implementation(const FString& archive, EZipUtilityCompletionState CompletionState)
{
UE_LOG(LogClass, Log, TEXT("OnDone_Implementation!"));
}
void UMyClass::OnStartProcess_Implementation(const FString& archive, int32 bytes)
{
UE_LOG(LogClass, Log, TEXT(“OnStartProcess_Implementation!”));
}
void UMyClass::OnFileDone_Implementation(const FString& archive, const FString& file)
{
}
void UMyClass::OnFileFound_Implementation(const FString& archive, const FString& file, int32 size)
{
UE_LOG(LogClass, Log, TEXT(“OnFileFound_Implementation!”));
}
The first execute absolutely no problem,I will wait for the complete Unzip,Problems arise when the second or third time,The picture above is wrong,Is there anything else I didn’t do it?