Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question [SOLVED] Dll dependencies not loading on specific device (Fluidmidi)

Discussion in 'Audio & Video' started by CDAfonsoCl, Feb 22, 2022.

  1. CDAfonsoCl

    CDAfonsoCl

    Joined:
    May 18, 2021
    Posts:
    14
    Hi!
    I'm using this free unity asset (Fluid Midi Player) and everything works fine, excepts in this one specific device we have.

    On a Windows Build, the log prints:
    Code (CSharp):
    1. Plugins: Failed to load 'XXXXXXXX____ Game_Data/Plugins\x86_64/audioplugin-fluidsynth-3.dll' because one or more of its dependencies could not be loaded.
    This happens only on this device (we've tested many), can't get sound from the plugin. Already tried to switch from .Net 4.0 to 2.0, changing the builds from x64 to x86, changing build from mono to il2cpp, instaled Visual C++ Redistributable, etc...

    It's a "Trigono V501" Notebook with Intel Core m3-8100y cpu @ 1.10Ghz / 4gb Ram. Windows 11 Pro 64bits (Updated to the last version).

    Anyone ever experienced something similar?

    Thank you
     
  2. CDAfonsoCl

    CDAfonsoCl

    Joined:
    May 18, 2021
    Posts:
    14
    For anyone facing a similar issue:

    I solved the problem using "Dependencies" tool : https://github.com/lucasg/Dependencies

    The problem was the VCRuntime140_1.dll not present on the device. Added it to the Plugins/X86_x64 folder and voilá!