Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Wrong XInput linked on UE4.24+ Windows. Incompatible with Windows 7.

+2 votes
The Wwise UE4 plugin contains this block of code:

#if UE_4_24_OR_LATER
        PublicSystemLibraries.AddRange(AkUEPlatformInstance.GetPublicSystemLibraries());
#else
        PublicLibraryPaths.AddRange(AkUEPlatformInstance.GetPublicLibraryPaths());
        PublicAdditionalLibraries.AddRange(AkUEPlatformInstance.GetPublicSystemLibraries());
#endif

This causes the project to link to XInput1_4.dll when compiling on Windows 10, which is a pain to support on Windows 7. As such Unreal only uses XInput1_3.dll.

We have reenabled Windows 7 support in our title by removing XInput from AkAudio_Windows.Build.cs:
    public override List<string> GetPublicSystemLibraries()
    {
        return new List<string>
        {
            "dsound.lib",
            "dxguid.lib",
            "Msacm32.lib",
            "dinput8.lib"
        };
    }
asked Jul 22, 2020 in General Discussion by Riley L. (120 points)

Please sign-in or register to answer this question.

...