Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by DeathPro · May 18 at 11:15 AM · apisunity3dsdksmultiplayerphoton

Any difference between Playfab C# SDK and PlayFab Unity SDK?

This documentation mentions like:


The C# PlayFab SDK should not be used if there is a more specific SDK that is suited for your project.

and it says there is PlayFab Unity SDK. Currently, I am using PlayFab Unity SDK, PlayFab Party Unity SDK and also Photon Engine (PUN 2). There is chat networking via PlayFab Party Unity SDK and there will be voice communication. I am going to build the game for iOS and Android. At this time, the Unity Version that I use is 2020 LTS. I could change to the new LTS version which is: 2021 LTS.

API Compatibility Level is .Net 4x

In my case, are there any specific reasons for using PlayFab Unity SDK instead of PlayFab C# SDK?

Are there any API call changes?

There are two Request Types in PlayFab Unity SDK, Unity Web Request and HTTP Web Request. Are there any performance issues between them?

Is there any problem using PlayFab C# SDK with PlayFab Party Unity SDK and Photon Engine (PUN2)?

Is the only reason to use PlayFab C# SDK instead of PlayFab Unity SDK is to take advantage of Asynchronous programming?

Comment

People who like this

0 Show 2
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DeathPro · May 20 at 09:14 AM 0
Share

@Gosen Gao

Is it possible somehow that merge PlayFab C# SDK Async functionality with PlayFab Unity SDK without breaking the workflow of PlayFab Party Unity SDK?

avatar image Gosen Gao DeathPro · May 23 at 06:53 AM 1
Share

Since the PlayFab Party Unity SDK is based on PlayFab Unity SDK, using the C# SDK with the PlayFab Party Unity SDK will require a lot of code modification, and we cannot guarantee that it will work.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Gosen Gao · May 19 at 08:06 AM

>> In my case, are there any specific reasons for using PlayFab Unity SDK instead of PlayFab C# SDK? Is the only reason to use PlayFab C# SDK instead of PlayFab Unity SDK is to take advantage of Asynchronous programming? Are there any API call changes?

To understand the difference between PlayFab Unity SDK and C# SDK, please refer to Unity SDK vs C# SDK - Playfab Community. Both API calls are asynchronous, and the APIs of the two are basically the same.

>> There are two Request Types in PlayFab Unity SDK, Unity Web Request and HTTP Web Request. Are there any performance issues between them?

Both are mature networking libraries, and there is no obvious performance difference.

>> Is there any problem using PlayFab C# SDK with PlayFab Party Unity SDK and Photon Engine (PUN2)?

The PlayFab Party Unity SDK is based on the PlayFab Unity SDK, so you may not be able to use the C# SDK with the PlayFab Party Unity SDK.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    13 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    How to connect private chat and public chat simultaneously in PlayFab Party Unity SDK? 1 Answer

    Unity Mirror and Playfab GameServers 1 Answer

    Does having PlayFab Editor Extension in Unity and enabling server API expose the developer secret key? 1 Answer

    Sending and reading "parameters" when calling RequestServer 1 Answer

    "SharedErrorCallbackHTTP/1.1 404 Not Found" Error 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges