It’s fantastic to be able to override the min/max distance per instance using the FMOD Studio API. However, a value of -1 (for default) does not seem to be working as expected. I assume that -1 implies that the settings from the event editor are used, but when I set this, I don’t hear anything anymore (ends up with a size of 0?).
The expected behavior is that passing -1 should restore the setting to the value defined in the event editor.
However, I took a look at the source code and discovered that this is not in fact the case. Instead it ends up with a size of 0, as you found. So that’s a bug.
We’ll fix this in the next release. Thanks for bringing it to our attention.