• 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 /
  • Help Room /
avatar image
2
Question by kashif789us · Feb 03, 2016 at 04:31 AM · gameobjectprefabprefabsprefab-instance

Prefabs not turning blue and losing connection

Hello. In some of my projects, prefabs do not turn blue even if I click apply. Also, some prefabs do turn blue but when I restart Unity, their connection is broken and they are shown in black like normal game objects. What can be the cause and how to fix? Thank you

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

6 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by TommiH · Feb 28, 2017 at 03:26 PM

laurentlavigne mentions this issue here: https://forum.unity3d.com/threads/prefab-bug-870581.451244/

I tested it on my end too and turns out having missing scripts on the prefab consistently causes this. So until this is fixed, I'm going to pay extra attention to missing scripts.

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 BeerRobot · Apr 21, 2017 at 09:38 AM 0
Share

We had this problem. Our Prefab had two missing scripts, removing them fixed the issue.# Thanks.

avatar image
1

Answer by Fritsl · Jul 21, 2016 at 07:25 AM

I just have the same issue - something is wrong: A prefab can be instantiated (drag dropping), and it looks fine.. but it's not blue?!? Reverting etc does no difference..?

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 SHoe · Aug 03, 2018 at 04:32 AM

It's caused by missing scripts in the prefab. :)

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 bibbis · Aug 18, 2018 at 03:16 PM 0
Share

That's it. Having a "missing script" attached somewhere in the prefab is a 100% cause for this issue.

avatar image
0

Answer by PNUMIA-Rob · Jan 12, 2017 at 05:23 PM

Still seeing this issue nearly 6 months later...

UPDATE: Ironically, just minutes after posting this, we discovered an apparent "fix" for a prefab that won't turn blue when changes are applied.

  1. Create a new empty GameObject inside the prefab in question.

  2. Click the prefabs Apply button near the top of the Inspector to apply the new object to the prefab.

  3. Delete the prefab from your scene.

  4. Re-add the prefab to your scene from your project Assets.

  5. Delete the empty prefab created in Step #1.

  6. Click the prefab's Apply button.

The funky prefab should now be the comforting blue color that you have come to know and love.

Hope this helps someone out there.

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 Gua · Jul 11, 2017 at 05:59 PM 0
Share

Didn't worked for me :(

avatar image
0

Answer by bibbis · Jun 21, 2018 at 09:57 AM

Hello, I am still having this issue in version 2017.4.5f1. The link works one-way. Grey prefabs in the scene are able to update the actual prefab asset with Apply. But making changes directly to the asset in the folder will not update the grey prefabs in the scene.

The strangest thing of all is that even when dragging out a new prefab into the scene will make this new one grey as well.

The fix described by Lucid-Amusement sometimes works, and sometimes doesn't.

This is giving me so much trouble.

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
  • 1
  • 2
  • ›

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

53 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why does GameObject.FindWithTag() get a wrong instance? 2 Answers

Problems with instantiating 1 Answer

How to make a prefab a parent to other prefabs? 1 Answer

Unity overwrites prefab values in runtime 0 Answers

Instantiate more than 1 prefab 0 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