Author Topic: Prefabs containing UIGrid don't display correctly in the Project View  (Read 2358 times)

Artrageous

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Hi,
I have encountered a problem; Prefabs containing UIGrid don't display correctly in the Project View.
In the Project View, Prefab's UIGrid's contents aren't show.
If you drag the prefab into the scene, or programmatically instantiate it, the  UIGrid's contents are present, and appear correct.

See attached image.

Is this a bug? If so, can anything be done about it?

Thanks
Artrageous

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
It is not a bug, it is how Unity displays prefab in the project view. It only displays the prefab itself and its direct children.
Graphicstream Dev.

Artrageous

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Thank you.
I feel slightly foolish now.

I wonder why Unity does this?

Artrageous

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
I think it's probably something about not having to instantiate everything under the surface when it's in project view - a full project could be a memory killer in that case.