I get LogAudioMixer error while packaging

Hi every one,

I had the same issue than you.
PackagingResults: Error: Unknown Error
LogAudioMixer: Warning: Decoder Error, stopping source [CompileFailed]

I’m working on Unreal Engine 5.1.1, my project contains not a lot of Blueprints and code, and I had this error so I didn’t understand where the problem came from.

I finaly fixed the issue and my project have been package well.

Step to follow:

  1. Install Visual studio 2022 or Update the old version to the lastet version.
    2.Open the VisualStudio22_Installer and enable the following settings:
  • Desktop & Mobile section:
  • Enable “Desktop development with C++”
  • Game section:
  • Enable “Games development with Unity”
  • Enable “Games development with C++”

Go back on your Unreal project:

  1. In the project settings/ Platforms/ Windows
    In the D3D12/ D3D11 Targeted Shader Formats, make sure that SM5 and SM6 are enabled (Enable SM5 for both).

  2. You can find below the previous section “Toolchain”, apply Visual studio 2022.

  3. Close the project settings.

  4. In the project Editor go on the Platorms panel to package your project, and in the windows platform/ DESKTOP-… , click on Force Update Device (to update your SDK drivers) and restart your project.

  5. When your project is restarted, go on the Platforms panel, select windows and Package project

I hope it will work for you guys. If not I found the problem by launching the game with the Project Launcher
The Output Log send me this message:
ERROR: UnrealBuildTool has banned the MSVC 14.32.31326-14.32.31328
toolchains due to compiler issues. Please install a different toolchain
from the Visual Studio installer.

So I updated Visual Studio and verified that the new version is compatible with my project settings.

1 Like