Jump to content

What happened to custom audio filters in 1.1.3?


Recommended Posts

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 by Ser
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...