Hi,
I'm building monogame on visual studio.
My program works great in debug mode. when I'm using release mode, no matter what I try, I get an exception "Cannot find a valid ITransportPlugin type" with this stack trace:
at PlayFab.PluginManager.CreatePlayFabTransportPlugin () [0x00066] in <4c3d1908f58642ef8a4186bf4e9dd370>:0 at PlayFab.PluginManager.GetPluginInternal (PlayFab.PluginContract contract, System.String instanceName) [0x00028] in <4c3d1908f58642ef8a4186bf4e9dd370>:0 at PlayFab.PluginManager.GetPlugin[T] (PlayFab.PluginContract contract, System.String instanceName) [0x00000] in <4c3d1908f58642ef8a4186bf4e9dd370>:0 at PlayFab.Internal.PlayFabHttp+<DoPost>d__0.MoveNext () [0x00020] in <4c3d1908f58642ef8a4186bf4e9dd370>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at PlayFab.PlayFabClientAPI+<LoginWithCustomIDAsync>d__81.MoveNext () [0x000b5] in <4c3d1908f58642ef8a4186bf4e9dd370>:0
This is happening in android. in UWP it works fine.
This is my code:
var request = new LoginWithCustomIDRequest { CustomId = playeruid, CreateAccount = true }; PlayFabResult<LoginResult> loginTask = null; var task = Task.Run(async () => { var response = PlayFabClientAPI.LoginWithCustomIDAsync(request); loginTask = response.Result; }); task.Wait();
The exception is on the task.wait().
I tried everything including set the linker to none but no success.
Any ideas?
Thanks!