I would recommend to enable it, but keep in mind that the Facebook SDK will use the path that you've manually set there, so if you set a path to an SDK installed with a specific Unity version (such as 2019.3.2), if you will install a newer Unity version in the future and remove 2019.3.2, then Facebook will not be able to find Android SDK again. After that it's up to you if you want to re-enable the "SDK installed with Unity" checkbox or not. Alternatively you could go to preferences -> external tools in Unity editor, uncheck the "SDK installed with Unity" checkbox and set SDK path to a valid location. This might work if Facebook SDK looks for that env var. If you are using the latest version of Facebook SDK, you could try to set an ANDROID_SDK_ROOT environment variable and restart the Unity editor. Maybe there is a newer Facebook SDK version which uses out API to get that path? Check for the updates. With Unity 2019.3 that value is not set anymore when the " installed with Unity" checkbox is selected. Click to expand.I don't know how Facebook SDK tries to get Android SDK path exactly, but I would guess it's trying to use editorprefs undocumented value.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |