Blueprint Structs are not replicated

As the title says, in 4.10.2 Structs (even after setting to Replicated) are not replicated at all. Here is an example.

In the below screenshot I have a struct that is set to replicate. When executed on Server, this always returns true (by default both integers have same value) even if Current Mana is less than Max Mana.

But if I replace the logic like this using integers, then everything works as expected.

74569-integer_replicate_working.png

Not that this should matter but have you tried simply “Split Struct Pins” on the Mana Config struct rather than breaking it out twice? While it should work the way you have it, perhaps a bug was introduced in the update causing the break node to not replicate? Hard to say but worth a shot to see if it works or not.

Thank you jtsmith. Just tried that but unfortunately it still ain’t working. :frowning:

When you say, “when executed on the server”… Do you mean that you’re changing the value of the struct members on the client and then running that function on the server?

Hello ,

I have a couple of questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?

I am extremely sorry guys. As TTaM said, i was changing the value in Client and then executing on the server. Really sorry for wasting all your time. Structs replicate properly.