Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by Litobyte Softworks · Feb 17, 2010 at 02:05 AM · gameobjectprefab connection

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" ?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
33

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
6

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:

  1. Create a new empty prefab
  2. Link the object to the new prefab
  3. Add a new component to the object (any component). A popup will appear, click Add
  4. The objects name should now be black. You can now delete the component you added to the object, and the empty prefab.
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

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 ;)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers

Check if GameObjects are from the same prefab? 1 Answer

How to limit gameobject movement to circle's circumference? 1 Answer

Unity3D scene not rendering objects in Game screen 3 Answers

Problems with Game object visible when active is false 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges