-1

I have two problems to solve. The first is error CS0115: 'NetworkManagerSample.OnServerDisconnect(NetworkConnection)': no suitable method found to override And the second is The type or namespace name 'MessageBase' could not be found (are you missing a using directive or an assembly reference?)

Help please, it’s very important. Errors In code

Christoph Rackwitz
  • 11,317
  • 4
  • 27
  • 36

1 Answers1

0

Firstly:

    public override void OnServerDisconnect(NetworkConnectionToClient conn)
    {
    base.OnServerDisconnect(conn);
    }

Secondly:

Do you have using MessageBase; written at the top of a script? Maybe just remove it? Or add in a namespace of MessageBase.