I created a mesh in Blender and imported to Unity as a prefab. I’m now instantiating the prefab from a script, and I can see the instance in the Scene view in Unity Editor, but it doesn’t show up in the Game view… the prefab is made up of a handful of 3D native objects in Blender, and when imported to Unity, each of the child shapes has a mesh renderer. Any ideas why I can’t see the instance in the Game View? Probably something dumb… thanks in advance! I’m attaching a screenshot of the editor showing the issue. You can see the tiny instance in the bottom of the Scene view, but it’s not showing in Game view.
After doing some digging, I realized I needed to parent the instance of the prefab, and I’ve also added a scale adjustment to increase the size (it was really tiny without the adjustment… still too small, but at least I can tell it’s being instantiated in the Scene view at this scale). Here’s the instantiate command, along with the parent command for the instantiated object and the scale adjustment.
GameObjectmyMonkeyHead = Instantiate(monkeyHead);
myMonkeyHead.transform.parent = panelRef.transform;
myMonkeyHead.transform.localScale = newVector3(10, 10, 10);
-pete