Dear Friends At Epic,
I could compile using DOREPSTRUCT,
buuuut
I would have thought that since FVectors and FRotators work with DOREP that FQuat’s should do
.h
UPROPERTY(Replicated)
FQuat WeaponFlipPitch_Speed;
.cpp
int32* AJoyWarriorBase::GetReplicationList(uint8* Recent, FPropertyRetirement* Retire, int32* Ptr, UPackageMap* Map, UActorChannel* Channel, FReplicationFlags RepFlags)
{
Ptr = Super::GetReplicationList(Recent, Retire, Ptr, Map, Channel, RepFlags);
DOREP(AJoyWarriorBase, WeaponFlipPitch_Speed);
return Ptr;
}
Error:
1>------ Build started: Project: VictoryGame, Configuration: Development_Editor x64 ------
1> JoyWarriorBase.cpp
1>E:\RocketVictory\VictoryGame\Source\VictoryGame\Private\Characters\JoyWarriorBase.cpp(1527): error C2665: 'NEQ' : none of the 20 overloads could convert all the argument types
1> c:\program files\rocket\engine\intermediate\builddata\include\engine\../../../../Source/Runtime/Engine/Classes/Vehicles/WheeledVehicleMovementComponent.h(153): could be 'bool NEQ(const FReplicatedVehicleState &,const FReplicatedVehicleState &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(74): or 'bool NEQ(uint8,uint8,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(75): or 'bool NEQ(int32,int32,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(76): or 'bool NEQ(uint64,uint64,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(77): or 'bool NEQ(uint32,uint32,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(78): or 'bool NEQ(float &,float &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(79): or 'bool NEQ(FVector &,FVector &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(82): or 'bool NEQ(FRotator &,FRotator &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(84): or 'bool NEQ(const UObject *,const UObject *,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(89): or 'bool NEQ(FName &,FName,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(90): or 'bool NEQ(FColor &,FColor &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(91): or 'bool NEQ(FLinearColor &,FLinearColor &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(92): or 'bool NEQ(FText,FText,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(93): or 'bool NEQ(FPlane &,FPlane &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(96): or 'bool NEQ(const FString &,const FString &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(97): or 'bool NEQ(const FRigidBodyState &,const FRigidBodyState &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(101): or 'bool NEQ(FVector2D &,FVector2D &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(102): or 'bool NEQ(FGuid &,FGuid &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(103): or 'bool NEQ(FRepMovement &,FRepMovement &,UPackageMap *,UActorChannel *)'
1> C:\Program Files\Rocket\Engine\Source\Runtime\Engine\Public\Net/UnrealNetwork.h(109): or 'bool NEQ(FNetworkGUID &,FNetworkGUID &,UPackageMap *,UActorChannel *)'
1> while trying to match the argument list '(FQuat, FQuat, UPackageMap *, UActorChannel *)'
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: