SteamVR_Actions get copied every time they are called directly, generating garbage


The auto-generated versions of the SteamVR_Input_Actions file returns copies instead of returning references to static instances of each action. This generates garbage every time they are called. I was able to work around it by manually caching the actions in my game code (essentially making a wrapper for the SteamVR_Input_Actions file) but that ends up being a maintenance problem whenever action sets change.
Thanks, this turned out to be a much larger issue than anticipated because of how this version of mono deals with generic instantiation. It should be fixed in the beta released yesterday: https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.3b1
This is fixed in the recent asset store release 2.3.2 (https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.3.2)