Export UI Prefab into Package

Hey everyone,

I am writing up a File Browser which uses Unitys 4.6+ UI system.

The problem I am having is that I have created a prefab which structure looks like this

Canvas
    Panel
        Text
    Panel
        Text
    Panel
        Text
        Text
    Panel
        Text
        Text

That is a prefab called FileBrowser and the Text elements are another Prefab called FileBrowserText.

In a script I am instantiating the FileBrowser with new FileBrowser(directory)
and then Instantiating the prefab.

The problem comes when I want to put this into a package. When I export the prefab into a package then load it into another project the scripts import fine and files are imported for the prefabs however the only inspector options on the file is “open”. Seems unity is treating it like a regular file and not an object.

How do I go about fixing this?

Thanks,
Andrew.

This is an issue affecting versions 5.0.x. Upgrading Unity to version 5.1.0f3 fixed the issue