Error When Opening Facebook Settings

Hello and thank you for your time.

I am getting the following error when I go to open the Facebook Settings in the inspector.

Win32Exception: ApplicationName='cmd', CommandLine='/Cecho "xxx" | openssl base64', CurrentDirectory='' System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start () (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () UnityEditor.FacebookEditor.FacebookAndroidUtil.DoesCommandExist (System.String command) (at Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:134) UnityEditor.FacebookEditor.FacebookAndroidUtil.get_DebugKeyHash () (at Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:41) UnityEditor.FacebookEditor.FacebookAndroidUtil.IsSetupProperly () (at Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:22) FacebookSettingsEditor.AndroidUtilGUI () (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:142) FacebookSettingsEditor.OnInspectorGUI () (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:42) UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/ea95e74f6e5f192d/Editor/Mono/Inspector/InspectorWindow.cs:888) UnityEditor.DockArea:OnGUI()

I didn’t start to get this until I went in and tried to set a path to the OpenSSL directory. Which I can’t see if I have the right path or not due to the information not being displayed at all. Any help in regards to this issue will be greatly appreciated.

change environnement variable path to

C:\Windows\System32;C:\Program Files\Java\jdk1.7.0_51\bin;C:\OpenSSL\bin

and you will have the answer

Can you please tell me what is the Environmental variable that you’ve deleted.
I think I’ve done the same thing…but I don’t know what is the variable or the path!! Please, help!

A system restore didn’t help. Best option for me was to do a reimage

I solve this problem!
You need create a new path environnement variable.
Call it : PATH
value : C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem;C:\Program Files\Java\jdk1.7.0_21\bin\

Change jdk version if you dont have the same.
And make sur opensll.Exe is in C:\Program Files\Java\jdk1.7.0_21\bin\
Bye

keep in mind:

“C:\OpenSSL\bin” is supposed to read the same as the install directory.

So basically, when you’re installing OpenSSL, when it asks where to install it, and gives you the option to “Browse” to find a better folder, either ensure that the install directory reads, “OpenSSL”, or change the path to match to what the install directory shows. For me, the version of OpenSSL I downloaded set a default install folder in C:\OpenSSL-Win32, so my PATH would’ve read:

  • C:\Windows\System32;C:\Program Files\Java\jdk1.7.0_51\bin;C:\OpenSSL-Win32\bin

    instead of

  • C:\Windows\System32;C:\Program Files\Java\jdk1.7.0_51\bin;C:\OpenSSL\bin

Small things like this will have your head spinning for a while if you don’t know exactly what’s going on.

Also note: jdk1.7.0_51 is constantly updated based on when you downloaded the software, so your jdk may read something like jdk1.7.0_“65” <–or some other number. Just ensure things match up. (Personally on that part I use the jre7 folder.)