This post is old and outdated. Goto: http://forum.unity3d.com/threads/131685-Prefabs-in-Prefabs-plugin-available-now-at-the-Asset-Store Hello Community, I've written an extension to Unity that allows the user to have nested prefabs. No extra work, just import the package and you can have your prefabs nested. There were two features that I really missed in Unity: 1. To have prefabs that contained other prefabs. 2. If I have an prefab that contains a model with animations. When I add new animations to that model the prefabs does not get updated. Both of these features are fixed with this extension. It still needs some tweeking but I will complete it this weekend and then submit it to the asset store. In the meantime, if anyone is interested in beta-testing it, PM me or email me at "johan.baba.norberg@gmail.com" and I will send you the package "as is". Here is a video of it: I hope it's good enough quality to see what is going on. http://www.youtube.com/watch?v=5ydMt1-deTI&feature=youtube_gdata Best regards, Johan Norberg
So when I update a nested prefab, it updates automatically in the rest of the container prefabs? This would work much alike flash movieclips, right?
Yes, exactly. The package is done, but I have to fix documentation before releasing it on the Asset Store.
Video has useless resolution. But otherwise, this project is interesting. Consider giving it a low price and a lot of people will buy it.
Looks amazing. i can't believe Unity didn't have this from the beginning. Is it safe to use with UnityPro external version control .meta files?
(I haven't downloaded it) Make sure you include some kind of license with it, or someone else may just fix the last few bugs and put it up on the Asset Store themselves.
As 3.5 won't have nested prefabs, this is quite welcome. Excited to see how it works just from an internal-unity learning experience.
will this still work with the new text-based prefabs in 3.5? afaik 3.5 does now have text-based scenes and prefabs for better versioning.
@Baba you probably want to use the ReplacePrefabOptons.ReplaceNameBased option when calling ReplacePrefab(). Otherwise, other references to that prefab will be lost. Much trial, error and tears until I found this out. http://unity3d.com/support/documentation/ScriptReference/ReplacePrefabOptions.ReplaceNameBased.html
Right, you are probably right Zennboy. I will continue work on this package when I have time. @zhx I don't know.
@Baba Like you I really miss the possibility to nest prefabs in other prefabs. So I have also worked on a solution. But unlike you I have found it too difficult to integrate seamlessly the extension in the current prefabs workflow. So I have built an additional workflow instead, that I thinks is pretty robust and I hope relativly straightforward. So If there are any people interested by the nested prefabs remaining, here is an extension that do just that: http://u3d.as/content/bento-studio/nested-prefab/2Jz