Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 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 dashing_buddy · Jul 03, 2012 at 08:25 AM · errorprefabmissing

Missing Prefab

Hey All!! I had a Particle system as a game object in my scene. I was just testing with my project so I just dragged it from the heirarchy view to a prefab inside project tab. After that I deleted this prefab. Now the game object still exists inside the hierarchy tab and also it works well, but its color has been changed to red and it shows the text missing written on it inside inspector. My question is what's the problem that its color has been changed and the text missing has appeared while it is still working OK? Will it create a bug in my game later on? If that can happen, kindly suggest me a solution, so that I can resolve the matter without making the effort of recreating the prefab as it is a tedious job.

Thanks in Advance!!

Comment
Add comment · Show 3
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 dashing_buddy · Jul 03, 2012 at 10:46 AM 0
Share

image.jpg

This is the image showing the problem.

problem.jpg (91.0 kB)
avatar image Bunny83 · Jul 03, 2012 at 10:48 AM 0
Share

@dashing-buddy: Don't post such information as answer. Edit your question to add more information to your question or post a comment. Answers should answer the question.

I've converted your answer into a comment.

avatar image Wolfram · Jul 03, 2012 at 11:24 AM 1
Share

No worries, your game will be fine, your instance in your scene hierarchy is fully intact. It's just that the Unity Editor lost the information about the actual Prefab, which was deleted. This changes the color, and the Inspector buttons that usually influence the Prefab are replaced by the Word "$$anonymous$$issing".

3 Replies

· Add your reply
  • Sort: 
avatar image
21

Answer by Bunny83 · Jul 03, 2012 at 11:20 AM

Just select your GameObject with the missing prefab connection and click GameObject --> "Break Prefab Instance" to remove the connection.

Break Prefab Instance


breakprefabinstance.png (5.0 kB)
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 sami1592 · Jan 14, 2019 at 01:23 PM 0
Share

Then re-import the prefab to your scene, right?

If so, then it does not solve the issue but a guide to making it work again if I understand correctly. Right?

avatar image
5

Answer by CollosalChris · Apr 30, 2016 at 11:35 AM

For anyone getting this error after recreating a project from a git repository - make sure the repo has all its .meta files checked in or prefab references can be lost. Contact the creator of the project (or tap yourself on the shoulder if you did it) and tell them to check everything into the repo, then resync your project and watch the errors fade away! Otherwise see the other answers.

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 jamesnw · Jun 25, 2018 at 10:05 PM

Note: I also had this issue (pulling from my Git repo), but ALL my .meta files existed. The issue was that unity re-imports the 3rd-party assets (perhaps to rebuild the 'Library' folder), and I must have forgotten to create a local prefab (and disconnect from the one in a 3rd-party asset). I think reimporting the libraries/packages breaks it. The solution for me (the first part stated in another answer) was to use 'GameObject->Break Prefab Instance' (I did this just to be sure), then drag-n-drop to create a new local prefab in my project. After re-syncing on the target machine, all was good. ;)

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

9 People are following this question.

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

Related Questions

Missing Prefab (Please help!!) 2 Answers

Assets couldn't be loaded 1 Answer

MLAPI error with two instances of networked object 0 Answers

[CLOSED] 2 errors but i don't know exactly (including picture) 2 Answers

How do I Reset Unity and get a different license? 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