Error LNK2019: unresolved external symbol "__declspec(dllimport) class UEnum *

When i write this code it throws an error…May someone know?how to fix this error??

My include files:
#include “Chaos/ChaosEngineInterface.h”
#include “Containers/EnumAsByte.h”
#include “Kismet/GameplayStatics.h”
#include “Kismet/KismetSystemLibrary.h”
#include “PhysicsSettingsCore.h”

and thats no helps me=\

Hello! According to refs (EPhysicalSurface | Unreal Engine Documentation) you should include PhysicsCore module to Build.cs.

2 Likes

oh man,you are awesome!! it’s a really working!! thx for help!!)