Missing keyword virtual in PUN2

Options
Can not override `OnCustomAuthenticationFailed(string debugMessage)` due to missing keyword `virtual` in the base class `PunClasses.cs`

Comments

  • Hi @ahoogol,

    thank you for sharing this, we will have a look into it.

    As a workaround, you have two options: if your class derives from MonoBehaviourPunCallbacks, you can add the virtual keyword yourself. If your class does not derive from MonoBehaviourPunCallbacks, you can implement the IConnectionCallbacks interface, which contains this callback.
  • Hi @ahoogol,

    just to let you know: we have updated PUN 2 and this update includes the fix for the issue. Thanks again for sharing this.
  • ahoogol
    Options
    hi @Christian_Simon, thank you.