Win32 exception: cannot find specified plugin file during android runtime?

I am making a chess app. I have a .so plugin for stockfish as instructed by many guides online in the correct directory:


and access it like so:

// ...
string filepath = "/data/data/";
// ...
mProcess = new Process();
ProcessStartInfo si = new ProcessStartInfo()
    FileName = filepath,
    UseShellExecute = false,
    CreateNoWindow = true,
    RedirectStandardError = true,
    RedirectStandardInput = true,
    RedirectStandardOutput = true

When I build and run my app as a development build everything works fine. But when I build and run it otherwise I get this error when I call Start() on the process:

Win32 Exception: ApplicationName: "/data/data/", CommandLine = ", CurrentDirectory=", Native error= Cannot find the specified file.

(I can’t copy and paste the full error log, since it works on a development build :frowning: )

This has only started happening recently, it was working fine before, so I am really confused especially with a development build being a fix somehow giving me limited ways to debug this effectively.

Any help will be hugely appreciated.

Did you solve that problem?
I have the same problem now.
If you solved that already, please help me.