Bug - Empty RPC(Run on Server) Event causes client to load level.

UE5.3 - First Person Shooter Template. BP_Weapon_Component

Enhanced Input IA_Shoot triggers a custom event, and if the event is set to run on the server, when a client left clicks, that client then loads a separate level. In my case it loads up my main menu screen.

The custom event doesn’t even output. Crazy!

Hi there, @Fairchild!

Wow, what a bug! What in the world is going on there?

Would you mind reporting your bug to our team? The Unreal Engine bug submission form can be found here. When submitting a report, we highly encourage everyone to include images and videos, but any and all details are helpful!

We may reach out if more information is needed.

Thanks!

I submitted the report.

I also recreated the bug from a fresh project, and in that instance the client just disconnects and reloads the FirstPersonMap level.

This doesn’t look like a bug per say, it looks like the weapon component is either not replicated and or its owner is not set. The fact it goes to another level is common if an RPC fails for any reason (as a security measure) it will disconnect them from the netdriver and forward them to the main menu.

1 Like

Wow go you!

I set the component class defaults to replicate and that fixed it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.