Client can't open doors, Server can
If the server tries to open the door, matinee animation is played on both client and the server.
If the client tries to open the door, nothing happens on client nor server.
Any help? I have tried many combinations on which command to replicate in which way.
asked Nov 18 '18 at 12:30 AM in Blueprint Scripting
You may want to not only run that on the server, but also multicast it to everyone.
answered Nov 18 '18 at 01:16 AM
Server RPCs like the one you have here will silently fail unless they are fired from a class that owns a network connection. I dont know much about those but whenever it doesnt fire, if I move the event to a Playercontroller blueprint and have it fire it instead then it magically works.
Same thing for multicasts that silently fail. If I put them in my custom gamestate instead, then they magically work where they didnt in other classes.
You dont necessarily have to make all client to Server RPCs from Playercontroller and you dont necessarily have to make all multicasts from Game state but it sure fixed my problems. To do the RIGHT thing we shoyod find out more about the concept of owning connections in the gameplay framework.
answered Nov 18 '18 at 02:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here