Ser Posted June 27, 2016 Share Posted June 27, 2016 (edited) This question is generally addressed to the game's developers. With 1.1.3 update custom audio filters stopped working because the OnAudioFilterRead(..) method isn't called anymore. The same code works in KSP 1.1.2 and doesn't in KSP 1.1.3. Since the Unity build remains the same according to logs, I have a strong suspicion that something has been changed in the game's code for that part. I use them in the following manner: Get all available AudioListeners and add an instance of my custom audio filter to each of them. Of course, it extends MonoBehavior. Do I need to enable audio filters explicitly somehow or there's not a chance to get them working in 1.1.3? I use KSP 64 bit for win. Edited June 27, 2016 by Ser Link to comment Share on other sites More sharing options...
Ser Posted July 5, 2016 Author Share Posted July 5, 2016 It's a kind of mystery. Had a mod that generated an exception in FixedUpdate cycle and my custom audio filter appeared to be executed. The only explanation for the behavior is that filters are somehow cleared in the end of normal execution cycle, or I'm doing something terribly wrong. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now