question

Jan Vacek avatar image
Jan Vacek asked

Unity PlayFabSDK async await

Is there a way how to use async/await with Unity PlayFab SDK please?

Thank you

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image
Seth Du answered

May I ask what’s the scenario? PlayFab API calls in Unity SDK are already asynchronous, which work similar to async/await in many cases. If async/await use in your project is required, you may consider implementing C# SDK instead of Unity SDK.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jan Vacek avatar image Jan Vacek commented ·

Just because callbacks are ... not today's standard :)

0 Likes 0 ·
Seth Du avatar image Seth Du ♦ Jan Vacek commented ·

I believe C# SDK may meet your requirement. Please feel free to tell us if you have any other questions.

0 Likes 0 ·
jorge8agomez avatar image
jorge8agomez answered

Hello,

Currently the C# SDK is working in Android ? I am testing some features in the Editor and works perfect but when I try to run the game in an Android device doesn't work.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

Would you share any error messages or logs?

0 Likes 0 ·
jorge8agomez avatar image jorge8agomez Seth Du ♦ commented ·
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.