• 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
0
Question by UNDERHILL · Nov 15, 2016 at 10:03 PM · prefabs

What is the easiest way to work with updating prefabs?

I often do a lot of heavy work involving changes to prefabs with many many parents and children. Working out of the Project view is just not an option. Out of frustration my originally learned process for this is to drag the prefab into the scene, make the changes, delete the prefab and drag the GO back to create it as a new prefab again.

Now this (probably bad) process also seems to involve breaking the prefab instance which is yet another step.

What is the right way to work heavily with a lot of prefabs that need a lot of updates?

AND

Why does the project view only show one level of hierarchy for prefabs? This is the core of the entire problem. If I could just update heavily nested prefabs from the project view this wouldn't even be a concern. There is no way Unity is totally incapable of fully displaying these.

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

1 Reply

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

Answer by tanoshimi · Nov 15, 2016 at 10:13 PM

Not sure what changes you're making, but if you're simply modifying components, you just highlight the prefab in the project window and make changes - no need to instantiate it in the scene.

If you're making more complicated changes, creating child objects etc. you instantiate it in the scene, make your changes and click Apply at the top of the inspector. Don't create a new prefab!

If you have a lot of prefabs, it's worth creating a new scene with just one copy of each in the hierarchy. Then load that scene to make any changes and just click Apply.

Comment
Add comment · Show 3 · 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 UNDERHILL · Nov 15, 2016 at 10:20 PM 0
Share

@tanoshimi The hierarchy for these objects in the project window is only one level deep. This makes it impossible to work with prefabs even nested just parent > child > child - the second child isn't even visible. This is just the worst.

But anyway... What apply button?

Oh. I see. It's in the inspector window if the prefab is linked only. How obtuse. But better.

avatar image tanoshimi UNDERHILL · Nov 15, 2016 at 10:26 PM 0
Share

Well... the instance must be linked to the prefab, or else you're not editing the prefab are you? You'd just be editing an object in the scene that, at one point in time, might have been created from a prefab.

avatar image tanoshimi tanoshimi · Nov 15, 2016 at 10:28 PM 0
Share

Yes, the project window only shows one level of children. That's why I suggested the separate scene approach and just edit them there ins$$anonymous$$d - basically exactly the same workflow.

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

58 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

How to instantiate prefabs at certain times? 1 Answer

Why the prefabs loose their preview in the Project windows ? 2 Answers

Instantiating without the use of Resource Folder in Unity? 0 Answers

Trying to package a prefab for sale in asset store 0 Answers

Is there a solution for the waypoint prefab issue? 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