Deep Profiling with new Input System shows unusable hierarchy

Hello,

I have the problem that running the profile with deep profiling on Unity 2021.3.0f1 in a project that uses the new Input System leads to a pretty unusable hierarchy consisting only of recursive calls to DelegateHelpers.InvokeCallbacksSafe().

8336157--1095795--upload_2022-8-4_9-29-2.png

Probably related to this bug, the CPU usage window no longer rescales properly after a short 'warmup' and shows an excessive load on the CPU that is not reflected in the frame's hiearchy (Script execution time based on CPU usage: 183ms, time based on hierarchy: ~24ms)

8336157--1095807--upload_2022-8-4_9-33-13.png

As you can imagine. This makes deep profiling unusuable for me.

Do you have any suggestions, what I could try to fix this?

8336157--1095804--upload_2022-8-4_9-32-2.png

Updating the engine to 2021.3.6f1 did not change anything

Same problem with Unity 2022.1.10f1

Does this happen on new project?

If this is still happening for you, could you please report a bug via the Editor Menu Help > Report A Bug ?

I've also logged your feedback regarding the difficulty to navigate the hierarchy

I don't see this in my 2022 project (which is also using the new input system a fair bit).

I use Unity Events to respond to input events.

8765386--1188754--upload_2023-1-29_11-53-19.png

What are you using? It might be important.

Same thing with 2019.4.31f1, unusable deep profile due to this apparently recursive input call.