Placeholder-Software / Dissonance

Unity Voice Chat Asset
70 stars 5 forks source link

[bug] DissonanceComms RemoteVoiceVolume only accepts zero #96

Closed Zammstein closed 6 years ago

Zammstein commented 6 years ago

Context

DissonanceComms class, line 295

if (value > 0) throw new ArgumentOutOfRangeException("value", "Value must be less than or equal to one");

Fix

if (value > 1) throw new ArgumentOutOfRangeException("value", "Value must be less than or equal to one");

This setter always throws an ArgumentOutOfRangeException if not passing zero

martindevans commented 6 years ago

Well spotted! I'll change that now.

martindevans commented 6 years ago

This has been fixed in Dissonance 6.2.3 which is now available on the asset store.