HierarchyDecorator icon indicating copy to clipboard operation
HierarchyDecorator copied to clipboard

Bug - Invisible dropdown icon in the hierarchy

Open SiarheiPilat opened this issue 1 year ago • 3 comments

Unity version: 2022.3.14f1

The bug: Gameobject that has children doesn't have a dropdown icon that user clicks to expand/collapse children hierarchy making it look like the gameobject has no children. Gameobject that have no children incorrectly display dropdown icons. Could be that it's either showing that all top level gameobjects have children or that all top level gameobjects have no children.

To reproduce:

  1. Create a new project via Unity Hub using '3D (built-in)' template
  2. Install HierarchyDecorator via git URL
  3. Go to Project Settings -> Editor, scroll down to 'Enter Play Mode Settings' and check 'Enter Play Mode Options' checkbox
  4. Create an empty gameobject using hierarchy menu, duplicate a few times
  5. Parent duplicated gameobjects to the original empty gameobject, collapse the hierarchy
  6. Save the scene
  7. Press play to start the game
  8. Press play again to stop

Bug screenshots: image image How it should be: image

SiarheiPilat avatar Apr 17 '24 08:04 SiarheiPilat

How that editor setting looks: image

SiarheiPilat avatar Apr 17 '24 09:04 SiarheiPilat

Hey there, this is fixed on the development branch and will be in the next release just coming up. I've rewritten how game objects + components are iterated over which should fix odd occurrences like this.

Thanks for noticing this though, as this also breaks worse when you try deleting any instance after this occurs.

WooshiiDev avatar Jul 22 '24 08:07 WooshiiDev

any news on when the new release comes out @WooshiiDev ?

thx in advance

Dorifor avatar Aug 29 '24 09:08 Dorifor