WooshiiDev/HierarchyDecorator

Bug - Invisible dropdown icon in the hierarchy

Opened this issue · 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

How that editor setting looks:
image

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.

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

thx in advance