OnDisconnected problem

Hi,
I have a problem with my unity’s project, i have a bug if someone can help me would be nice :confused:
For no reason my unity don’t find DisconnectCause.

Here is my code :

using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestConnect: MonoBehaviourPunCallbacks
{
// Start is called before the first frame update
private void Start()
{
print(“Connecting to server.”);
PhotonNetwork.GameVersion = “0.0.1”;
PhotonNetwork.ConnectUsingSettings();
}

public override void OnConnectedToMaster()
{
  print("Connected to server.");
}

public override void OnDisconnected(DisconnectCause cause)
{
  print("Disconnected from server for reason " + cause.ToString());
}

}

Try adding:

using Photon.Realtime;