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

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...