I have a problem with my unity joining script

The error is

Setting the parent of a transform which resides in a Prefab Asset is disabled to prevent data corruption (GameObject: ‘Content(Clone)’).
UnityEngine.Transform:SetParent(Transform)
JoinGame:OnMatchList(Boolean, String, List`1) (at Assets/JoinGame.cs:48)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr).

This line of code i use and its from the brackeys tutorial on how to make a fps game.

foreach (MatchInfoSnapshot match in matches)
{
GameObject _roomListItemGO = Instantiate(roomListItemPrefab);
_roomListItemGO.transform.SetParent (roomListParent);
roomList.Add (_roomListItemGO);
}

Please someone help!

@unity_QuNUtbWgFeRqIQ

foreach (var MatchInfoSnapshot match in matches) {
GameObject _roomListItemGO = Instantiate(roomListItemPrefab) as GameObject;
_roomListItemGO.transform.SetParent (roomListParent);
roomList.Add (_roomListItemGO);
}

Second way create

public GameObject _container;
and make this
_roomListItemGO.transform.Parent = _container.transform;