Steps to reproduce:
- Create and open a new project
- Open Window -> Analysis -> Profiler
- Create and instantiate a script to call a debug log, on an update
- Enter Play Mode, then after a second, exit it
- Click on any Frame on CPU Usage module
- Change Timeline dropdown to "Hierarchy"
- Find the GC.Alloc sample (find a frame that is >0GC, but 0ms CPU Time)
- Enable "Hide 0ms Sample" in the hamburger menu on the right of the Hierarchy panel
- Observe the Hierarchy panel
Actual results: GC.Alloc sample is hidden
Expected results: GC.Alloc sample is shown in the Hierarchy panel
Reproducible with versions: 6000.6.0a4
Can’t test with versions: 6000.0.73f1, 6000.3.14f1, 6000.4.4f1, 6000.5.0b6, 6000.6.0a3 (No "Hide 0ms Samples")
Tested on (OS): Windows 11 Pro (25H2), Ubuntu 24.04