Missing/incorrect configuration values cause unpredictable behavior
WillNilges opened this issue · comments
Willard Nilges commented
I found a bug that would prevent my gloves from working properly and cause Unity to spew errors:
The cause was that my configuration files didn't have encoding_alpha
set properly, and thus it was defaulting to zero, causing division by zeros.
I'm making this issue as a reminder that steamvr configuration can be weird, and we might want to add checks to like... everything, so that we see errors in the SteamVR logs if we get something unexpected from the config file.
Shkzeen commented
You can add a very small bias to prevent divisions by zero