Missing keyword virtual in PUN2
Options
ahoogol
✭
Can not override `OnCustomAuthenticationFailed(string debugMessage)` due to missing keyword `virtual` in the base class `PunClasses.cs`
0
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.2 -
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.1 -
hi @Christian_Simon, thank you.0