I think i got a bug in the Version 4.18.
If i want to replicate some values i got this error.
Try to recreate the bug.
- Create a new Project (ThirdPerson c++)
- Set up the …::GetLifetimeReplicatedProbs(TArray…) function
- Use DOREPLIFETIME(AActor, Value)
The Compiler give me this error:
1>D:\Unreal Engine 4\Work in Progress\---.cpp(133): error C2065: 'OutLifetimeProps': undeclared identifier 1>D:\Unreal Engine 4\Work in Progress\---.cpp(133): error C2228: left of '.AddUnique' must have class/struct/union 1> D:\Unreal Engine 4\Work in Progress\--..cpp(133): note: type is 'unknown-type'
If i comment the DOREPLIFETIME out, then it compiles fine.
I have included Net/UnrealNetwork.h and tried a view others. Like Actor.h, Engine.h and so on. My Project is at the very beginning so i made a complete new Project with the 4.18. In Version 4.17 the same Setup works just fine.