Build Error: "dll linkage"

cpp

// This is the cpp file//

#include "C_DecalTest_1.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#include "Runtime/Engine/Classes/GameFramework/PlayerController.h"
#include "PhysicsEngine/PhysicsSettings.h"
#include "Kismet/GameplayStatics.h"

AC_DecalTest_1::AC_DecalTest_1()
{
	PrimaryActorTick.bCanEverTick = true;

}

void AC_DecalTest_1::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime);

}

bool UGameplayStatics::FindCollisionUV(const struct FHitResult& Hit, int32 UVChannel, FVector2D& UV)
{

}

this is the “GameplayStatics DLL” for the function “FindCollisionUV”

||UFUNCTION(BlueprintPure, Category = Collision)|
|---|---|
||static bool FindCollisionUV(const struct FHitResult& Hit, int32 UVChannel, FVector2D& UV);|

Screenshot 2023-06-17 120923

I have Support UV from hit result enables, but I still get this error

do any of you guys know what is happening?
and why it thinks there is inconsistent dll linkage for FindCollisionUV?

Greetings @jasontodd2324

That is a fairly strange error. I’ve saw this specific one worked on in the community before. Here’s a link to the post where they were discussing it. It seems that they found some solutions. Take a peek and see if this is helpful. If not, we can look into some other things.