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

NetworkManager.OnServerAddPlayer is not called from ClientScene.AddPlayer

$
0
0
Hi guys,

This issue is killing me. I`ll explain the full cenario:

I`m using MatchMaker to create, list and join matches. Nothing`s wrong with that, and I also have my custom NetworkManager with autoCreatePlayer checked, my playerPrefab, online and offline scenes set.

My online scene have scripts that needs player`s references. But the player not already exists in online scene, so what I did was:

In my custom NetworkManager I overrided OnServerAddPlayer method, and there I resolved all...

NetworkManager.OnServerAddPlayer is not called from ClientScene.AddPlayer

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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