Error on using setParent() on initiated game object.

Error : Setting the parent of a transform which resides in a Prefab Asset is disabled to prevent data corruption (GameObject: ‘LevelTileUi(Clone)’).

LevelTileUi is Ui Panel.

var tile = Instantiate(tilePrefab);
tile.transform.setParent(otherParentObject);

tile.transform.parent = otherParentObject.gameObject.transform;