ProjectBorealis / PBCharacterMovement

HL2-style, classic FPS movement for Unreal Engine implemented in C++
https://www.projectborealis.com/movement
MIT License
1.25k stars 164 forks source link

error C2027: use of undefined type 'FDamageEvent' #35

Closed clankill3r closed 1 year ago

clankill3r commented 1 year ago

If you create a new Unreal 5.1 Project with C++ and No starter content, and add this Repository as a plugin then the following error appears:

error C2027: use of undefined type 'FDamageEvent'

In PBPlayerCharacter.cpp

Adding the following fixed this for me:

#include "Engine/Classes/Engine/DamageEvents.h"