Im having trouble running the android executable “pm” from unity.
Im using System.Diagnostics.Process.Start () with shell set to true
Ive tried various combinations of shell and redirect and using “/system/bin/pm”.
It seems odd there’s a Win32Exception in this android app.
I get these errors:
Unable to lookup library path for ‘Kernel32’, native render plugin support disabled.
Unable to find Kernel32
11-27 15:47:50.335 28517 28548 E Unity : Win32Exception: Cannot find the specified file
11-27 15:47:50.335 28517 28548 E Unity : at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <9f8c4786222746238eb929db40bf8dd1>:0
11-27 15:47:50.335 28517 28548 E Unity : at System.Diagnostics.Process.Start () [0x00032] in <9f8c4786222746238eb929db40bf8dd1>:0
11-27 15:47:50.335 28517 28548 E Unity : at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
11-27 15:47:50.335 28517 28548 E Unity : at ReviewLauncherUI+d__57.MoveNext () [0x00248] in D:\geo\lwrp\Assets\ReviewLauncher\ReviewLauncherUI.cs:640
Is this related to managed/unmanaged?
Will I have better luck trying a Java approach from Unity for this?
thanks
Unity 2019.2.6
Android 7.1 on Oculus Quest
Windows 10
Mono backend .net4+