A Prefab of Prefabs

I’m trying to create a prefab of prefabs without losing all the connections.

Let me elaborate:
I have a barrel that is a mesh and some scripts assigned. So I create a prefab of it so I can place it throughout my levels easily.

I decide sometimes I want a group of stacked barrels sometimes instead of just one. So I create an empty game object that has 4 children that are my original barrel so I can easily place stacks of barrels throughout my levels.

However once I make a prefab of this empty game object I lose all the connection between the original barrel and the child barrel. This isn’t ideal as I’d still like the barrel children to be ‘barrels’ so if I add a script or change a value in the original I’d like any barrel anywhere to take this data… however since I’ve lost the link between the orignal this doesn’t happen.

Is there a better way to do this?

What you are talking about is nested prefabs. That won’t be in Unity 3.5, but should be available earlier or later.

I don’t know of any solution to bypass the problem until it is built into Unity.

Search on asset store forum, i just read a nested prefabs. Maybe suit your need

Why don’t you attach your script in runtime?
Then you can create many prefabs using a different number of barrel keeping the connection to the main model…?
that shouldn’t be so heavy for memory…?