Steps to reproduce:
- Create a new 3D URP project
- Install the Entities package (com.unity.entities)
- Go to Window > Entities > Systems
- Click + icon in the search to add query block
- Select "Component Count" block
- Select any filtered option
- Click + icon again and add "Dependency Count" block
- Observe the Console
Actual results: "NullReferenceException: Object reference not set to an instance of an object Unity.Entities.Editor.SystemTreeViewItemData.get_HasChildren" errors are spammed
Expected results: No errors
Reproducible with versions: 6000.6.0a6
Not reproducible with versions: 6000.5.0b10, 6000.6.0a5
Tested on (OS): Ubuntu 24.04, Windows 11
Notes:
- Errors keep spamming until Systems window is closed
- Also seems to reproduce when just searching in the window while another row element has been selected after 6th step
- Reproduces with other blocks in 7th step too ("Entity Count", "ChildCount")