Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Client.Send not working as i expected.

$
0
0
Hello there, following Unity docs, i would like to send message from client to server, both is separate differently.
It's working like client-dedicated server.
Now i'm hanging on send a custom message from client to server, it throwing an error without my understanding.
Error always show at :
m_Client.Send(MessageType.Login,loginMsg);
object reference not set to an instance of ....

I try to add m_Client = new NetworkClient(); it's show error that send without connect to...

Client.Send not working as i expected.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>