Platform Toolkit - Official cross platform API - now available for 6.3

Platform Toolkit is now available!

I’m very pleased to share that Platform Toolkit, our new cross platform API for integrating platform features (achievements, accounts, game saves etc.) has launched alongside Unity 6.3 and can be accessed through the package manager. Please read on for more information.

What is Platform Toolkit?

Platform Toolkit is a new package launching with 6.3 that provides a single asynchronous API for handling common platform systems. It is an official abstraction layer to support these features across multiple platforms without having to write code per-platform.

All PT’s features are also supported in the editor to enable faster iteration time and testing of a game around these features. The editor tools also support failure cases such as storage full, or long running tasks to support testing of failure edge cases.

Platform Toolkit helps developers develop cross platform games more quickly, pass platform certification more reliably, improve iteration time when developing games integrating with platform toolkit and ensures games are more portable increasing developer reach.

Platforms supported at launch: Features supported at launch:
Android™ / Google Play Game Services Accounts
iOS / GameKit Achievements / Trophies
Nintendo Switch™ Data Store
Nintendo Switch™ 2 Controller Ownership
PlayStation®5 Capabilities
Windows / GDK
Windows / Steam
Xbox One
Xbox Series X / S

How do I get Platform Toolkit?

The core package is available to everyone from the package manager, and includes the API and the editor functionality. The platform support packages require a Pro licence or above and are either available through the package manager or, for NDA platforms, please see the NDA forums for communications regarding how these support packages will be made available.

Note that you’ll need the core package (com.unity.platformtoolkit) to get started with development with Platform Toolkit, but you’ll need a platform support package (eg com.unity.platformtoolkit.gdk) to build and deploy. For more info on configuring a platform see the documentation provided with each platform package.

Where can I learn more about Platform Toolkit?

Documentation on getting started will be available here after launch. Documentation for setting up each platform is also contained within the platform support packages. For the public platforms you can also find them directly here:

You can learn more about the Platform Toolkit in the deep dive breakout talk from Unite 25 ‘1112 - Abstracting platform features with Platform Toolkit’ covering every feature including code samples. There’s also info in the Unity Roadmap Talk from Unite 25.

Where to find support for PT

If you have any questions please feel free to ask them here. For NDA platform questions please reach out to your Unity contact / make a support request / or make a post in our NDA discussions forums.

11 Likes

And there it is…Was no mention of that in the roadmap or anywhere. So I assume this means it’s useless for implementing anything per platform unless you buy Pro.

Just wish this was mentioned… Kinda feels like a slip in the wrong direction but I could just have missed it.

17 Likes

I’m unable to locate documentation for how different platforms (i.e. Steam vs Microsoft Id) are configured in the Platform toolkit. i.e. is it accomplished via configuration files, or a Unity Editor UI?

Requiring a Pro license for consoles makes sense, but for mobile platforms it’s something worth reconsidering.

Also, looking ahead, what about leaderboards? When can we expect those?

5 Likes

The docs for the support packages are where you’d expect, for example:

1 Like

We’re listening to feedback right now to understand what’s the highest priority feature for our customers, if that’s leaderboards you for then that’s great to know, I will make a note of that and make sure that’s taken into account when we plan our roadmap for next year.

Is the current platform support set matching your needs right now, or is there another platform(s) you’d like to see?

3 Likes

As a mobile developer, iOS and Android support already covers most of what I need. The only feature I still see missing is leaderboards, and once that is added it would cover all my mobile use cases.
Please consider it for 6.5 if not 6.4

4 Likes

I might understand the pro needed for some things, but to use the API for things like save data and achievements for ios/android would I also need the pro?

1 Like

I second this. I don’t know why ios/android/steam are locked behind pro.

Wait, I guess I am confused why pro is needed for iOS achievements? They had the social api that did this but it was depreciated. :tired_face:

5 Likes

“GameKit” is listed as supported on iOS; how does that handle Game Center vs Sign In With Apple?

1 Like

It’s unbelievable to know that Android/iOS/Steam are locked behind a Pro license. Unless you provide guidelines for the community to develop the alternative packages on their own, the core package is basically useless to us individuals and small teams. If that’s the case then you can as well lock the core package behind a Pro license too.

9 Likes

Sorry I might be confused, the documentation isn’t clear on what’s locked to pro… They mention things like “platform specific” things but does that imply that non platform specific things aren’t locked to pro? I still don’t know if pro is needed for just user accounts and save data since that should be generalized…

The core package, which contains the API, the editor tools and the local save implementation, which is the implementation you would use for standalone builds is free for all developers include those with free licenses. This will let you learn the package, implement it into your game and make standalone builds.

The packages that add support for other platforms are Pro entitled packages, and so will require a Pro license or above.

4 Likes

There are plenty implementations on Asset Store that requires one-time purchase. Hiding platforms under Pro license is kinda sad. It is not enough to make Pro license more attractive. I hope Unity will understand this in future. Maybe this is the first pro feature after splash screen. In that case, well… okay.

7 Likes

Needing a Unity Pro subscription for Steam and mobile devices is a huge downside. Hope they reconsider it as a single month of Unity Pro is already more expensive than the one-time fee for publishing on those platforms.

7 Likes

Doesn’t look like Android and iOS and Steam are locked behind a paywall

2 Likes

Try downloading them, I get an error of my license not being compatible with com.unity.platformtoolkit.steam

1 Like

I have a question, is there a way to test things like Achievements on mobile with a development build (meaning a build that’s sideloaded on Android for example)

Amazing work @thomh_unity and team! I’m excited to transition to the toolkit. The time savings with account authentication is huge. Thank you!

2 Likes