Download and install OpenSSL.
- http://slproweb.com/products/Win32OpenSSL.html
- Win32 OpenSSL v#.#.# (not Light)
- OR Win64 OpenSSL v#.#.# (not Light)
Add the OpenSSL directory to your path.
- Go to: Control Panel > System > Advanced system settings > Environment Variables
- Select the Variable "Path" in the "System variables" window and click Edit.
- Add the path to your OpenSSL bin folder to the end of the "Variable value" text. e.g. I added ";C:\Program Files\OpenSSL-Win64\bin" to the end of the value text.
Restart Unity3D.
If you get the error in FacebookSettings "Keytool not found", you need to add the JDK (Java Development Kit) bin directory to the Path variable value.
- Follow the same steps as before, but instead of the OpenSSL bin path, add the JDK bin path. e.g. I added ";C:\Program Files\Java\jdk1.7.0_45\bin" to the end of the value text.
If error occurred after restart unity
go to Control Panel > advanced system setting > environment variables
edit "Path" to C:\Windows\System32;C:\Program Files\Java\jdk1.7.0_51\bin;C:\OpenSSL\bin
