Idea

James McGhee avatar image
James McGhee suggested

Unity PlayFab SDK and Game SDK install fix

For Unity
So we have been working with PlayFab for a few months ... long enough we needed to update the SDK ... from that experance we can say the update process sucks :)

Updating the PlayFab SDK nukes part of the PlayFab Game SDK resulting in compilation errors to fix you need to remind your self about the PlayFab Game SDK install and pull that back in ... which it comes with some outdated Mirror code in its examples so that causes more exceptions ... anyway its not a nice experance and one you dont do offten so every time you have to re-learn what all you need to do.

The fix however should be really simple and would give you a very nice user/developer experance when working with your kit.

In short adjust your projects on Git so they are compatable with package manager ... if you didn't know you can configure your Git projects such that a developer can import your kits directly from there, they can even include handy optional installs such as for examples/demos. This will simplify the install process from the dev and give you a lot more control over how it deploys without you needing to build unitypackages or maintain detailed manual install instrucitons. This also causes the objects pulled in this way to be pulled in under "Packages" as opposed to "Assets" so it doesn't clutter up the assets folder ... your examples if you provide any will still show under "Assets" so your clients can easily edit them but this will help protect your SDK objects from unintentinal edits on the devs part.

Here is the documentaiton on the Unity feature
https://docs.unity3d.com/Manual/upm-ui-giturl.html

And here is a working example of a package we maintain this way
https://github.com/heathen-engineering/Arkane-Foundation

As you can see the install instructions are as simple as
Open Package Manager, select Add from Git and past this link in
https://github.com/heathen-engineering/Arkane-Foundation.git

Package Manager will do the rest based on the config defined in master/package.json

apissdkssupport
10 |1200

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

1 Comment

·
Andrew Bindon avatar image
Andrew Bindon commented

I can't vouch for this being the solution, although it sounds about right, but I certainly I can agree that how it is at the moment is terrible.

10 |1200

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

Write a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.