AudioMixer native plugin effect | iOS and Android build

I have plugin from demo, simple attenuation. NativeAudioPlugins/SDK/Plugin_Attenuator.cpp at unity-audio-sdk-v2 · Unity-Technologies/NativeAudioPlugins · GitHub

I’ve successfuly build it for Editor / Windows Build.
But in Android build I get this error

Error Unity Audio effect Demo Attenuator could not be found. Check that the project contains the correct native audio plugin libraries and that the importer settings are set up correctly.

As I know, at Android I need to built for different architecture, Arm64, x86, x64, Armv7

  • Which Visual Studio modules I need to install to built for this architectures?
  • which options should I select?

Also for iOS, I need to built same .cpp files at XCode

Hi!

I believe unix-based systems needs the plugin name to be prefixed with lib to be properly imported. What’s the name of the Android build of your plugin?

I haven’t done this before so I don’t know about the exact details. I did look into it last year and I understand that you need to build the library via Android Studio, not via VS

IDE toolchains are always such a pain… I believe your safest bet is definitely to use Android Studio.