You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behaviour is by design. Unlike RPC's they do not invoke through message buffers. Custom messages are simply to communicate between different clients.
Let's say I want to broadcast a message from the server to all the clients including the host with the custom message system (I would use RPC's but my GameObject has to be DontDestroyOnLoad so it can't be a NetworkObject).
Is "sending a custom message to all my clients and having a method called from the server to the client for the host" the best practice? Or is there any better workarounds?
Describe the bug
When using the custom messaging manager the message is only received on a client, not on the host client
To Reproduce
Steps to reproduce the behavior:
https://pastebin.com/YTpcH55Z
Expected behavior
I Expect the CustomMessagingManager to work even server or host side since I am registering a message handler.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: