Version 1.0.0-preview.14 with Input System (new) causes huge spikes

Hi,

Since UI Toolkit version 1.0.0-preview.14, a default event system is used that uses the old input system.
Placing the new “Input System Event System” somewhere causes huge spikes when simply moving the mouse pointer.

Is it possible to disable the event system altogether, or to specify an empty one?

Right now we are forced to activate both input systems, which is something we can’t do.

Thank you

Yes indeed, we are aware of that unfortunate situation. A fix for this issue is on the way for the next preview of the package, though it might still take a few weeks until that comes out.

There was a discussion about this same issue a few months ago: Moving a visual element is costing about +13ms of processing time

As you can see, we have been aware of the bug (and how to fix it) for some time, but for internal reasons we haven’t been able to update that part of the UI Toolkit package lately. We have hope that the situation will be resolved however, and this fix should be making it to the next release.

Luckily we don’t need inputs at all because we handle them.

We created an “Empty” event system and added it to UIElementsModule assembly compilation using assembly reference (the registration / deregistration API is internal).

Performance restored.