Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by MoProductions · Jan 27, 2011 at 09:15 PM · editorprefabhierarchypink

Text Labels For Prefabs in Hierarchy Turn Pink

Hello again. We've been working with some prefabs for a while with the text for the instance name in the Hierarchy being blue. Recently we noticed that a lot of the instances for certain types of objects are now using pink text in the Hierarchy. We've also noticed that some of those instances are not functioning properly. I've looked through the documentation but can't find anything that explains why the text would be pink. Is it some kind of error? Thank you -Mo

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Jan 27, 2011 at 10:36 PM

This has been a thorn in our sides for a long time. Basically, the game object has become detached from the original prefab. I wish Unity would provide a solution to that (forget Revert and so on).

That said, I wrote a little Editor script to help with this problem: http://www.unifycommunity.com/wiki/index.php?title=ReplaceSelection

Select the pink objects, then choose the original prefab that they were made from. It won't restore all the settings (yet ;( ), but it will at least put them in the hierarchy and pos/rot/scale, which takes care of a lot of most problems.

There may be some utilities in the Asset Store that does a better job of this.

Comment
Add comment · Show 1 · 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 g2mediagroup · Aug 31, 2011 at 08:15 PM 0
Share

Saved my butt today! Thanks!!! This should come standard with Unity! Excellent job guys...

avatar image
0
Wiki

Answer by WardXmodem · May 29, 2015 at 09:16 AM

This "pink" item seems inconsistent, but probably has a fixed reason for being there.

I am posting because I'm using a "flying insects" particle system. If I remove this and put it back, ALL the pink goes away.

SO the sad news is that (perhaps) ONE bad game object "pinks" the entire parent and child hierarchy it is in...

By the way, if I drag a pink item (for example a complex house) down to a folder in my assets to make a prefab, it LOOKS like it went there, but in fact the .prefab file is 307 bytes long! NO ERROR INDICATION other than having to remember NOT to prefab if it is pink.

Follow-up I can drag the prefab from my assets on one machine, but not copy it to another machine and load it there. I guess the serialization on the 2 machines is not identical, so it breaks in the copy. I guess I have to "export package". I hope it doesn't use duplicate copies of the materials that make up the house!

Any suggestions much appreciated!

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

Detect on Editor Mode drop prefab to the hierarchy 1 Answer

Saving its values through custom Editor 2 Answers

How can I remove an object from an asset? 1 Answer

Find Objects with particular tag 2 Answers

Need to make a reference in a prefab to itself not to the created instance 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