This is a bug I have come across today and I thought it would be helpful to write a bug report.
So in the picture you can see a blueprint that is debugging while in game, and the problem about it is that as you can see in the top, debugging is set to an instance of a blueprint that exists on a client, nevertheless the “Any damage” event is fired, which is actually an only run on server event. After I added a “Switch has authority” behind it it became even worse, it still could run on the client and also for some reason the execution visualization skipped the connection after the switch has authority node.
A print string revealed me that it is actually not the coding which is not working, it is only the visual debugging which isn’t working.
I am trying to reproduce this on my end but I’m having a bit of trouble following your example. I have a network template that produces bombs from the player if RMB is pressed. I have been able to see it go off completely down the line. However at other times I cannot (I assume due to improper setup in debugging). Can you walk me through how you are setting up your debug in the blueprint window when you see this occur? The more precise the reproduction steps the better I can attempt to recreate this on my side. Thank you!
My project is the first person template set up to multiplayer, so when a character presses LMB to fire it calls a replicated event that is set to run on server. On the server the projectile will apply damage as soon as it hits anything. Then there is the any damage event on the character with some probably not relevant code after it. If you reconstruct it, play and set debugging to a client world and it’s character, you will see that an execution is displayed after the any damage event.
I just tried it out again, and this time on the client the execution stopped after the switch has authority node, same thing on the server side.
I just created a new project based on the first person template to test it, and yes it also happens with it!
I can send you the project if you have problems to reproduce the issue.