2018 Nested Prefabs

I understand that nested prefabs are now part of 2018. Does that mean that if we have a prefab (B) as a child of a prefab (A) it will point back to the correct prefab in assets - in this case B.

So in Rick’s words we know where the truth is?

thanks

1 Like

From what I’ve seen this is due in a later release in 2018 (2018.3 / fall)

As to what it completely includes, we’ll have to wait and see, but potentially yes - as you’ve written it.

Yeah, new 2018 stuff:

These videos (and these channels) are very helpful:
Sykoo video
Brakeys video
But here’s a quick (and probably not comprehensive) list of changes.

  • Prefabs show up as blue text
  • Given this you will see that you can nest prefabs inside of others no problem.
  • You will notice in you Hierarchy that there are little arrows to the right of prefabs, clicking on this will bring you to Prefab Mode for that obj.
  • There is an Auo Save checkbox in the scene window, I would just keep this on unless it causes problems. So when you exit prefab mode, your changes will be saved and applied.
  • I’ve noticed it doesn’t matter what your nested (child) prefabs coordinates are, they just get put where you want them in relation to the parent prefab/object.
  • Remember that your rocket in game is a prefab instance

If you wanted to seriously alter a prefabbed object (like deleting a child object) but not affect the parent prefab, it’s going to have to be either:

  1. unpacked (which you can “undo” by dragging that object to the project/assets window, this will make it a prefab again)
  2. OR you need to create a prefab variant and edit that variant in the Prefab Mode
    Note, you can also right-click the prefab in the project/asset window and click Create>prefab variant.
  • When you change a prefab variant, it will just overwrite what you changed over the settings it actively inherits from the original prefab.

If you are confused about any of this, see the videos I linked for examples and better explanations.

Good luck!

1 Like

Unity themselves just posted about their newest release version 2018.3 which describes in detail everything you talked about as well. Here is their new features video:

And here is the link to the blog post talking about it in case you want to read that as well: https://blogs.unity3d.com/2018/12/13/introducing-unity-2018-3/#prefabs

Privacy & Terms