I'm havin a problem while trying to connect to Oculus's achievement/leaderboard api from Unity 5.4.0f3. I downloaded all the necessary packages and set up Oculus Platform settings. At the very beginning, when I start the game I'm getting
ScriptableObject.ctor is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'OculusPlatformSettingsEditor'. from Platform Settings imported file and I'm not sure whether to make a workaround myself or if there's a simple solution for that one.
My second problem is that despite setting up a Leaderboard and some achievements in my project's site I can't do anything with them. When I'm calling Achievements.GetAllDefinitions().OnComplete(callbackMethod); for example, I'm getting null pointer from Achievements.GetAllDefinitions part and I can't do any further with that. I've spent a lot of time today trying to make all the set up steps from documentations and trying to make it work in any way but at the end of all that I'm still nowhere.
All help will be appreciated