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!