Every frame GC allocation when new Input System is used

Issue #177 resolved
Former user created an issue

I observed GC alloc every frame which resulted in periodic incremental collection. The allocation pointed to QuantumConsole.Update, and deeper in the stack InputHelper.IsKeySupported. This method uses Any from Linq, which probably allocates. I replaced with a local method using a foreach loop and the allocation went away. (We spoke in the Discord and I had screenshots there.)

Comments (1)

  1. Log in to comment