get_activeBuildTarget is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'FacebookSettingsEditor'. See "Script Serialization" page in the Unity Manual for further details. UnityEditor.EditorUserBuildSettings:get_activeBuildTarget() Facebook.Unity.Editor.FacebookSettingsEditor:.ctor() (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:34) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
https://github.com/facebook/facebook-sdk-for-unity/issues/31
https://github.com/soomla/unity3d-store/issues/546