The type or namespace name `ErrorCode' does not exist in the namespace `ExitGames.Client.Photon'

Options
Hi,

I just updated to Unity 5.5.0f3 and Photon Pun+ 1.79.

My game uses code from Photon Rally Tutorial by Exit Games version 1.1.0.

It has worked before but now that I updated the Unity and Photon Pun new error appered:
Assets/Scripts/Menu Scripts/PUNMenu.cs(106,57): error CS0234: The type or namespace name `ErrorCode' 
does not exist in the namespace `ExitGames.Client.Photon'. Are you missing an assembly reference?
The code looks like this:
	public override void OnPhotonCreateRoomFailed(object[] codeMessage) {
	if ((short) codeMessage [0] == ExitGames.Client.Photon.ErrorCode.GameIdAlreadyExists) {
			PhotonNetwork.playerName += "-2";
			CreateGame ();
		}
	}
Any help?

Comments