Character Select Replication

So I noticed when someone else but the first person selected a character, they would not spawn in as it. They would stay as the main menu character which does nothing at all. Here are my blueprints for reference. Thank you.

The “Spawn Actor From Class” needs to be executed by the server, not the client. The “first person” I’m assuming is running a listen server so this person is both a client and a server, so their actions will be replicated.

In order to resolve this, create a server custom event (executes on server) somewhere the server handles, like the player controller. Then, when the client clicks the button, call this custom event on the player controller. Execution will be passed to the server where you can spawn your actor. Make sure “Replicates” is set on the actor as well in order for all the connected clients to see it.

https://i.gyazo.com/15f87341f0265bd57a40170d47d52b9f.png

So I tried to do what you did but I ended up with the same results. Both actors are able to be replicated. I also was not able to call the event on the player controller for some reason. Am I supposed to do something with the custom event I made it reliable and run on server. Thanks for your help btw nobody else was able to help me with this so far

You can’t run RPC’s from a widget, and you can only call RPC’s on an object you “Own” and which also exist on the Server - which by default is your Player Controller, Pawn and Player State.

You need to pass information to one of those objects (probably Player Controller) to ask the server to spawn you a pawn.

I have an issue now the character select doesnt really work without the widget blueprint when I put it in the character controller nothing happens now the buttons dont work