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 John Peterson · Sep 09, 2017 at 06:41 PM · unity3dsdks

PlayFab Unity Editor Extensions not updating properly?

Dear PlayFab community,

I am having some difficulty in getting the PlayFab Unity Extensions to successfully update the Unity SDK. I think it updates, but the SDK number remains the same. Also, why is there a difference in the version numbers between the PlayFab Editor Extensions from the Extension versus the PlayFab website?

Further, after updating the SDK (successfully?) it will sometimes claim that I'm "up to date", but show the wrong version number.

Any help would be much appreciated.

playfab-unity-sdk-updating.png (379.5 kB)
Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by 1807605288 · Sep 11, 2017 at 05:50 PM

Quite a while ago, I decided to synchronize the version numbers between PlayFab Editor Extensions, and our UnitySDK. So, all the website and patchnotes and everything else should be saying the latest version, which is 2.27.170828.

Your screenshots indicate that this is the SDK version you just fetched, so you should be good to go.

Your Editor Extension says 0.0.994, which is apparently someplace I missed because I haven't seen or updated that value in months. In other words, that value is meaningless, because we're not changing it. It is however my fault, so I'll figure out where that comes from and get it set properly in the next build.

The SDK update seems to have failed on PlayFabSharedSettings.asset. This contains some of your title settings, such as titleId, devSecretKey, and some customizations you can change. In hindsight, you probably don't want to replace that file when updating the SDK... In your case, that's the file that failed, so... yay? I'll definitely look into that detail of the upgrade path though.

So, finally, if you restart Unity and reopen your project, does the SDK version appear to be up to date and the latest? If not, I would suggest you cut-paste your PlayFabSharedSettings.asset file out of your project, and into a temporary location, upgrade again, and then paste it back.

You've showed us a few things we missed, which should be polished up, so thanks for sharing.

ETA probably about a month or two.

Comment
John Peterson

People who like this

1 Show 4 · 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
avatar image John Peterson · Sep 11, 2017 at 06:30 PM 0
Share

Thanks, Paul! When I exit Unity and restart it, it still shows the *old* SDK version number, but also shows that the SDK is the latest (note the attached screen shot). I think this is what was contributing to my confusion.

screen-shot-2017-09-11-at-112647-am.png

screen-shot-2017-09-11-at-112647-am.png (17.5 kB)
avatar image 1807605288 ♦ John Peterson · Sep 11, 2017 at 11:21 PM 0
Share

Oh, that's strange...

I suspect that your best path is to delete the "PlayFabSDK" folder, and then re-import the latest package manually, or through the PlayFab panel (if it works after you delete the SDK - that's a coin toss).

avatar image John Peterson 1807605288 ♦ · Sep 12, 2017 at 12:39 AM 0
Share

Heh! Yeah...I did that (manually), but the old version is still "sticky" in the Editor Extensions.

Show more comments

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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Looking for instructions to setup GIT submodes of PlayFab into Unity project. 1 Answer

    Missing PlayFab assembly reference. 1 Answer

    Unity WebGL memory leak, 1 Answer

    Unity SDK doesn't allow developers to handle critical failures / exceptions 1 Answer

    Unity Game Center Authentication Failed 4 Answers

    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