Hey guys, I have a game built on Lyra using my own weapon system. In UE5.4 this all worked.
From my character I set the weapon stack with OnRep Notify in BP, no C++ for this system.
In the 5.4 version of the project when I set it from the player on the server, it fires first on the server (in the weapon BP) then on the client… everything works fine. It goes, set the var on the weapon bp from the character bp(server) it then sets the var on the weapon BP on server and runs the code in there, then runs it on the weapon BP on the client.
After I upgraded my project to UE5.5.1 It no longer fires on the weapon BP on the server. It sets it from the character on the server and then just sets it on the client. It does need to set on the server also like it did in 5.4.
so RPC events are in the weapon bp and server event is being called from character and that too from server event in character. Looks all ok, it does not fire in server meaning? like the flow starts from character, then calls server event of weapon bp which calls client event in weapon bp itself… what exactly is it mean that server event of weapon bp won’t call? or
In 5.4 when I set the variable from the character on the server, the OnRep_ runs on the server first, then the client.
In 5.5 when the var is set from character on server the code is run just on the weapon bp client side OnRep_, it no longer runs on the server first.