I was getting a similar error, because I was calling SetReplicated(true) on an ActorComponent in a constructor. Moved it to BeginPlay and now it compiles when cooking and shipping the solution.
I was getting a similar error, because I was calling SetReplicated(true) on an ActorComponent in a constructor. Moved it to BeginPlay and now it compiles when cooking and shipping the solution.