InvalidCastException: Specified cast is not valid.

Options
InvalidCastException: Specified cast is not valid.
PlayerMovement.OnPhotonSerializeView (PhotonStream stream, PhotonMessageInfo info) (at Assets/Scripts/Game/PlayerMovement.cs:273)
public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) {
	if (stream.isWriting) {
		stream.SendNext (transform.position);
	} else if (stream.isReading) {
		selfPos = (Vector2)stream.ReceiveNext();
	}
}