This code (FYagPotentialStruct is a struct):
UFUNCTION() void ServerUpdatePotential(FYagPotentialStruct* InStruct);
gives me this error:
Inappropriate '*' on variable of type 'FYagPotentialStruct', cannot have an exposed pointer to this type.
I tried with reference, TSharedPtr, TSharedRef, i get various errors but can’t find the way to make this work.
Anyone knows ?