The main reason for a community edition is due to GameSparks deprecation:
- Since then, they have released their client source code.
- For the main reason to use this: We have since upgraded their WebSocket for scalability, allowing higher-level versions of C# to work with Unity and any standalone (including Mac/Windows 7).
- We have been told that GameSparks support has been officially referring devs here.
- This fork is the primary community fork to ensure pull requests go through. Collaborate with us @ https://i42.quest/baas-discord #gs-general
- At the time of writing this, the parent fork had 2 commits. If this goes higher, let's remind each other to pull.
Looking to jump straight to the latest WebSocket patch?
Using src code directly (opposed to DLLs) can allow you to easily edit src and step-through via Visual Studio. If you want to swap your GS project from DLLs to src:
- Backup (Git?)
- CLOSE Unity (dll's persist while open)
- Find your /GameSparks dir, and DELETE following files
/GameSparks
./Plugins
./GameSparks.Api.dll
./GameSparks.dll
./GameSparksRT.dll
- Create dir
./src
- Drop everything from
/gs-csharp-community-sdk/Projects/
to the newsrc
dir - Open
/src/bccrypto-csharp-1.8.1/crypto/src
-> RenameAssemblyInfo.cs
toAssemblyInfo.cs.bak
(it's a dupe). - Open
/src/Properties
-> RenameAssemblyInfo.cs
toAssemblyInfo.cs.bak
(it's a dupe). - Apply the latest WebSocket patch
- Open Unity >> Refresh (CTRL+R), if necessary.
✅ You're using native C# src! You can now utilize step-thru debugging with GS src.
- Full release instead of src+patch (See Issue)
This repository contains the sources for the binaries included with the GameSparks Unity SDK.
Each project build the release assets to /Projects/GameSparksUnity/* (this is the folder structure that required in unity)
Contained within gamesparks-unity-sources.sln
BouncyCastle assembly with a reduced class set to minimise the final asembly size.
This project builds the assembly for all supported platforms.
Source for GameSparks.dll. This project builds the assembly for all supported platforms excluding the following:
Windows Metro Windows UWP Windows Phone 8
Source for GameSparks.Api.dll This project builds the assembly for all supported platforms.
Source for GameSparksRT.dll This project builds the assembly for all supported platforms excluding the following:
Windows Metro
This library is licensed under the Apache 2.0 License.
Contained within Projects/GameSparks.Native/build/GameSparksNative/GameSparksNative.sln
Native library for PS4. If "mbed_tls_net_ps4.inc" is reported missing, you need to request this file from gamesparks support.
Native library for Nintendo Switch
Native library for Win64
Native library for XboxOne