ProjectBorealis / PBCharacterMovement

HL2-style, classic FPS movement for Unreal Engine implemented in C++

Home Page:https://www.projectborealis.com/movement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile using UE 4.25

Cryoshell99 opened this issue · comments

Log:

ProcessResult.StdOut: [3/7] Module.PBCharacterMovement.cpp
ProcessResult.StdOut: C:/Users/*******/Documents/Unreal Projects/Khsen/Plugins/HLCM/HostProject/Plugins/PBCharacterMovement/Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp(1097): error C2248: AActor::Role: unable to access private member declared in class "AActor"
ProcessResult.StdOut: C: \ Program Files \ UE_4.25 \ Engine \ Source \ Runtime \ Engine \ Classes \ GameFramework / Actor.h (541): note: see the declaration "AActor :: Role"

commented

You have to use the getters and setters provided instead of direct member access.

You have to use the getters and setters provided instead of direct member access.

Could you make a step-by-step plan? I understand that this is arrogance on my part, but I just started to study this engine and what you said is not clear to me

commented

Look at the Unreal Engine 4.24 release notes, and search for Role. It will provide instructions on how to migrate (use GetRole).

commented

I supposedly fixed the Role issue, but I'm getting this error:
PBCharacterMovement/Source/PBCharacterMovement/Private/Character/PBPlayerCharacter.cpp(238): error C2027: type usage not defined 'UDamageType'

commented

Include the damage type class http://classifier.celdevs.com/

commented

Fixed in: 04b1e7e