How to sync a list in OnPhotonSerializeView ?

Options
Hi, I'm having trouble syncing lists within an object.
My players create scene objects with a list inside each object that changes. New players who enter the room do not see the updates that have occurred in the lists of these objects.


public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)
        {
            if (stream.IsWriting)
            {
               
                    string[] name = Nodo.ToArray();
                    List<int> totals = new List<int>(Nodo.Count);
                    int[] totalsArray = totals.ToArray();
                    stream.SendNext(name);
                    stream.SendNext(totalsArray);
                             
              }

            else
            {
               
                    string[] name = (string[])stream.ReceiveNext();
                    int[] totalsArray = (int[])stream.ReceiveNext();
                    Nodo.Clear();

                    for (int i = 0; i < name.Length; ++i)
                    {
                        Nodo.Add(name[i]);
                    }
                  
                             
            }
        }

I must be doing something wrong, because I am getting this error:
Exception: cannot serialize(): ExitGames.Client.Photon.ByteArraySlice
ExitGames.Client.Photon.Protocol16.Serialize (ExitGames.Client.Photon.StreamBuffer dout, System.Object serObject, System.Boolean setType) (at <55327f06489f4ebdb665a4707c165dbb>:0)
ExitGames.Client.Photon.Protocol16.SerializeParameterTable (ExitGames.Client.Photon.StreamBuffer stream, ExitGames.Client.Photon.ParameterDictionary parameters) (at <55327f06489f4ebdb665a4707c165dbb>:0)
ExitGames.Client.Photon.Protocol16.SerializeOperationRequest (ExitGames.Client.Photon.StreamBuffer stream, System.Byte operationCode, ExitGames.Client.Photon.ParameterDictionary parameters, System.Boolean setType) (at <55327f06489f4ebdb665a4707c165dbb>:0)
ExitGames.Client.Photon.PeerBase.SerializeOperationToMessage (System.Byte opCode, ExitGames.Client.Photon.ParameterDictionary parameters, ExitGames.Client.Photon.EgMessageType messageType, System.Boolean encrypt) (at <55327f06489f4ebdb665a4707c165dbb>:0)
ExitGames.Client.Photon.PhotonPeer.SendOperation (System.Byte operationCode, ExitGames.Client.Photon.ParameterDictionary operationParameters, ExitGames.Client.Photon.SendOptions sendOptions) (at <55327f06489f4ebdb665a4707c165dbb>:0)

Any ideas would be of great help. Thanks