Latest news and updates from the PlayFab developers

byMarcoWilliams 2016-07-22

Unity SDK V2 - Released

The PlayFab Unity SDK V2 has been available in Beta for 3 weeks, now.  We did one week of an internal beta and two weeks of a public Beta, and the results have been excellent. The adoption rate has been even better than we expected, and we have received lots of feedback that we have incorporated into the SDK.  

With that, the time has come and we are pleased to announce that the new Unity SDK V2 is officially released! Below I will tell you what this includes, what it means for the future of the Unity SDK and provide resources so that you know how to upgrade to the new Unity SDK V2 (if you have not already).  You can get the new SDK Here.

Features & Fixes:

  • [Fix] SimpleJson fixes for IL2CPP & Mono 2.x
  • [Fix] Reflection issues are now resolved for all platforms
  • [Feature] ISerializer – Allows you to replace the existing JSON serializer with any JSON library of choice
  • [Feature] Introduced the IPlayFabHttp wrapper to provide cleaner separation and implementations of the HTTP interfaces (PlayFabHttp, WWW, and HttpWebRequest), as well as enabling mock object usage for testing purposes
  • [Update] Android Push plugin removed – now available as a Unity package and are available for Unity 4.7 & 5.0+
  • [Feature / Upgrade] Plugins no longer needed for IDFA support
  • [Feature / Upgrade] Complete replacement of the underlying event system for simplification and to provide event binding
  • Testing separation - all Unit tests are now located in it’s own structure and not by default included with the SDK.

During the beta, and thanks to your feedback, we were able to identify problem areas and issues that are now fixed, and you can read up on all all the features and why we changed so much here in our Beta Preview Blog Post.  We did clean up quite a bit of code and made the the release much more stable thanks to bug reports and lots (and lots) of testing.  However, if you happen to find an issue, please report them on the Unity SDK Repository Issues tab and we will get them fixed right away.

For simplicity, we reused the existing Unity SDK repository for the V2 SDK, and the old Unity SDK is now located in a new repository called UnitySDKV0.  To upgrade from the beta to the new released version, just re-import the Unity Package.  If you want to play it safe you can follow the upgrade guide.  

The Future of the SDK:

We now have a very clear path and future for the Unity SDK.  It is by far the most loved and most used of all our SDKs and we have nurtured that.  What this means is that we are going to spend the next few months really making the Unity SDK as easy as possible for you to use in your games.  We have plans to release a new Editor Extensions for PlayFab which will give you a lot of extra bells and whistles that you don’t have right now in the SDK. I can’t give you all the details of what it includes just yet, but keep your eye out for it.  All the changes to the new SDK addressed specific issues and needs., The serializer was changed to create compatibility, stability and extensibility.  The new IPlayFabHttp interface gives you the ability to mock the Http Requests giving you complete control and freedom to unit test your code. Our promise remains that we are truly cross platform and as such we have setup the SDK for cross platform internal testing.  The benefits you reap are knowing that your game will work with our SDK on every platform.

Upgrading to Unity SDK V2?

A few of you have asked if you should upgrade now or wait until after your game launches.  Our advice is that unless you’re under a serious time crunch, you should upgrade now.  We are here to support you in this effort, and while the old SDK is currently still available and will be for some time, we do have plans to officially stop supporting and updating it as of August 15th.  We will do everything in our power to make the transition to the new SDK as smooth as possible.  Please hit us up on the forums or submit tickets to get the best support, and join our community Slack to make sure you can be part of the conversation.  In addition, we have created an Upgrade Guide that will aid you in upgrading from any version of our SDK that you currently have.
Well, that is all for now, I hope you enjoy using the new SDK!  And please report any issues you find, or improvements you’d like to see, so we can get them addressed as soon as possible.