This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Description
Hello.
I am trying to use this library with Unity application. I have created small library project and use it as "managed plugin" in Unity.
Unity version is 2018.3.6 (I tried 2019.1, with same result)
winsdkfb version is 0.15.0, installed with nuget.
Calling to session.LoginAsync always gives me WinRT originate error - 0x8001010E : 'The application called an interface that was marshalled for a different thread.'
I have tried wrapping the call in Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher.RunAsyncwith no success. Rewriting the code to use without using async/await, with
session.LoginAsync(permissions).AsTask().ContinueWith((Task<FBResult> t) => {...}) also did no good.
Thank you.