- Home /
Should I concern about RED objects in hierarchy view?
The game is running fine, and those RED objects I have in scene, are working perfectly.
Should I concern if some of my scenes/levels have this "problem" ?
Answer by gresolio · Feb 26, 2014 at 04:54 PM
Just select your GameObject with the missing prefab connection and click GameObject --> "Break Prefab Instance" to remove the connection.
Answer by Stelimar · Feb 17, 2010 at 02:57 AM
By "red objects", I assume you mean objects whose names appear in red in the Hierarchy window?
If so, that simply means that they were previously linked to a prefab, but the prefab has been deleted or somehow it has lost the connection. Unity is basically giving you a warning that for some reason, the object has lost its connection to the prefab without you explicitly deleting that connection.
It's not really a problem, but here's the only way I could find to "fix" it:
- Create a new empty prefab
- Link the object to the new prefab
- Add a new component to the object (any component). A popup will appear, click Add
- The objects name should now be black. You can now delete the component you added to the object, and the empty prefab.
Answer by jashan · Feb 17, 2010 at 03:49 PM
I'd certainly be concerned about this because it means that you have deleted prefabs from your project which are now missing for objects in your scenes. If you're using those in many instances, you have to manually restore the connections (in the way that Stelimar described) - or live with the fact that the connection is gone for good.
So, I'd avoid having those "red objects" because in the long run, it'll make your project a big mess ;)
Answer by Litobyte Softworks · Feb 18, 2010 at 12:24 AM
Well, thanks for all your answers, which are correct.
My concern was more about Apple approoval than engineering problems... As we have so many levels, they are working, so our concern is some kind of rejections for those Communist pieces !
If is not a problem at apple, ok with those!
Answer by Chrispizz · Feb 17, 2021 at 04:22 PM
Just drag and drop your Hierarchy object ( red name ) to Asset ... resolve the red name to normal color.
Your answer
![](https://koobas.hobune.stream/wayback/20220612074301im_/https://answers.unity.com/themes/thub/images/avi.jpg)