knah / VRCMods

A collection of various VRChat mods aimed at improving user experience or fixing issues
GNU General Public License v3.0
245 stars 140 forks source link

[IKTweaks] [Bug] Input buffer problems for controllers #123

Closed Wunder-Wulfe closed 3 years ago

Wunder-Wulfe commented 3 years ago

If too many tracking devices are connected it seems to fill some sort of input buffer in IKTweaks. This can make one or more controllers which are perfectly responsive in-game and SteamVR not have their triggers registered when calibrating, leaving you in a permanent t-pose. Happens with 8 trackers, headset, and then 2 controllers. Second controller gets ignored. With 9 trackers, both controllers are ignored. This problem does not occur if you pair/activate the controllers before all the trackers, but this can be fairly annoying especially with index controllers, and sometimes impossible, i.e. with virtual trackers via kinect or other camera devices.

knah commented 3 years ago

This is a SteamVR/Unity issues AFAIK - there is an upper limit to devices Unity can process, and this limit barely fits 11 tracking points. Someone else had a similar issue and solved it by first turning on all controllers, and only then turning on their lighthouses. Could you try doing the same?

Wunder-Wulfe commented 3 years ago

@knah

This problem does not occur if you pair/activate the controllers before all the trackers

and also

This can make one or more controllers which are perfectly responsive in-game and SteamVR

I can immediately note that my trigger will activate gestures on my avatar and click every menu as normal. The error is from IKTweaks and however you are handling your input buffers. No idea if this extends to every MelonLoader mod as this is the only one that seems to use direct controller inputs.

knah commented 3 years ago

Should be fixed in 1.0.14