Question by
warhammercasey · Nov 13, 2016 at 12:57 AM ·
networkingserveroverride
OnServerConnect override issue
I cant use OnServerConnect because I just get this error: OnServerConnect(UnityEngine.Networking.NetworkConnection)' is marked as an override but no suitable method found to override I cant use OnClientConnect or any of those because of this. My code:
public override void OnServerConnect(NetworkConnection conn)
{
Debug.Log("Connected");
CmdGiveAuthority();
}
Comment
Answer by Cjbraithwaite · Oct 12, 2017 at 06:44 PM
Does your class extend NetworkManager?
This was a year ago. I dont even remember what project this question was from.
Your answer
Follow this Question
Related Questions
Is there any benefit to calling NetworkTransport.Receive multiple times per tick? 0 Answers
Unity is only printing first message from server 0 Answers
Best way to learn Networking in general 0 Answers
Using unity to collect information from a non-unity application 0 Answers
Connecting SQL with Unity 0 Answers