Why is my instantiated prefab invisible ?

Hello, Unity Community!

I have this script attached to an empty game object:

	void Start () {
		_spawnPoint=GameObject.FindGameObjectWithTag("PlayerSpawn").transform.position;
		_selectedShape=PlayerPrefs.GetInt("shape");
		switch(_selectedShape)
		{
		case 1:
			Instantiate(Resources.Load("circleMC_prefab"),_spawnPoint,Quaternion.identity);
			break;
		}
	}

Basically, this should check what was selected in the previous scene, and according to that instantiate a specific prefab from my “Resources” folder, at a certain location determined by the “PayerSpawn” game object.

When I try to test it, the prefab is instantiated, I can see it in the editor, but it is invisible in the game! What’s wrong ?

Instead of loading from Resources, I’d suggest to have GameObject list in your script and assign them to script (not the scene, but select the script in project view and assign the prefabs from there) and then instantiate them as gameObject_circle, _spawnpoint, Quaternion.identity

Are you sure the GameObject is in view of the camera?