I’ve attempted to reproduce your issue, but I’m not seeing the same results on my end, so it’s possible that I’m overlooking something. Would you mind sharing the full code that you are using for this so we can ensure that we are on the same page?
Sure, here is my test code: link text
For test i’m pressing Fire action on the server and call UpdateArray() method. Then on client you will see AddOnScreenDebugMessage with two arrays (old and new).
So I’ve set this up in a slightly different way and got it working.
I’ll provide you with my code files so you can take a closer look and get a better idea of how to set it up, but at this time I do not believe that this is a bug.
Basically, TestActor contains the necessary functionality for creating and replicating the array, and then SCharacter spawns test actor and then uses an input to call a server function that generates a new array. TestActor prints both the old and current array, and they matched up as expected.
Thank you for your answer. As workaround i use the same method
But i was expecting that i can avoid to cache old array and use old array from RepNotify function argument.