Plugin packaging gives compilation errors for unknown reasons.

Oh, thanks!

Generally, how do I know what additional includes I need for a project? I just checked the documentation for UTexture2D and it definitely does not tell me to include “Engine/Texture.h”

Also, it failed again with the same error…

The new include section of the header file:

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Runtime/Core/Public/Async/ParallelFor.h"
#include "Components/BoxComponent.h"
#include "Kismet/BlueprintAsyncActionBase.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/Texture.h"
#include "Async/Async.h"

#include "PollutionManager.generated.h"