I'm using the latest Unity plugin 2.11 with Unity 5.3.6.
I've been having an issue on device only (iOS) where I get an exception from PlayFabSettings.GetSharedSettingsObject.
I get this message first:
Recursive Serialization is not supported. You can't dereference a PPtr while loading. (Constructors of C# classes may not load objects either eg. EditorGUIUtility.TextContent should be moved to OnEnable. See stacktrace.)
Then an exception because the settings were not loaded:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for PlayFab.PlayFabSettings ---> System.Exception: Either Missing PlayFabSharedSettings data file or multiple data files exist. at PlayFab.PlayFabSettings.GetSharedSettingsObject () [0x00000] in <filename unknown>:0 at PlayFab.PlayFabSettings..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace ---
I've discovered it's something to do with setting the PlayFabSettings.TitleId property so I've removed the call from my code as I can set the title id in the settings asset.
As a quick test I called another property:
PlayFabSettings.LogLevel = PlayFabLogLevel.All;
And the same issue occurs. I can't reproduce at all in a test project.
Presumably I don't need to use the properties anyway as I can use the settings asset?