texture?

I create with Resources.Load a GameObject , from a 3ds. No problem.But , when I try to assign the texture (in .renderer.material.mainTexture) looks like the renderer is null (I’ve verifyed: it’s so).
If I open the 3ds in editor ,it’s composed by a series of "sub"s and "object"s.
1)Could be this the reason?
2)what can I do?
3)There is a method to see it from code and not from editor?
Thanks

if it is composed of subs etc it will not have a renderer on the root object cause it has multiple childs with them …
you can look at the hierarchy of it in the editor, just drag it into the scene and expand its hierarchy

a way to enter in the object of a 3ds.I used that to set visible/invisible to the object , but can be modified…

void SetVisible(Component C,bool Visible){
		Object [] R;
		R=C.GetComponentsInChildren(typeof(Object)) as Object[];
		if (R!=null){
			for (int i=0;i<R.Length;i++) {
				if ((R[i] as Component).renderer!=null)
					(R[i] as Component).renderer.enabled=Visible;
			}
		}
	}