I have a replicated actor ABoardGenerator, and within it there are two arrays of actor pointers (the actor derived classes are AGround and AUnit)
UPROPERTY(Replicated)
AGround** GroundBoard;
UPROPERTY(Replicated)
AUnit** UnitBoard;
I do have ABoardGenerator::GetLifetimeReplicatedProps defined in ABoardGenerator.cpp, along with the DOREPLIFETIME macros and the proper includes. Without UPROPERTY(Replicated) everything works fine, but with it I get this completely undescriptive error:
Error: Missing '*' in Expected a pointer type
That’s it. I saw a mention on the wiki that:
But the thing is, they are pointers, it’s an array of AGround*/AUnit*.
Thanks in advance.