This SDK is an optional starter kit for Unity users, which can be extended and customized later.
- Getting Started With Matchmaking
- Getting Started With Server Browser (video coming soon)
This plugin has been tested, and supports Unity versions 2021.3.0f1+, including Unity 6 LTS. This plugin is provided 100% free of charge, under Terms and Conditions of Free Tier.
Install a Git Client, for example git-scm. A git client is needed for Unity to download and install this package automatically. You will not need to use git directly once it's installed.
- Open your Unity project,
- Select toolbar option Window -> Package Management -> Package Manager,
- Click the + icon and select Add package from git URL...,
- Input the URL of our SDK when prompted:
https://github.com/edgegap/edgegap-unity-sdk.git
- Click Add and wait until installation is completed.
Besides this repository:
Do not trust unverified sources!
Navigate to Edgegap SDK in Unity Package Manager and click Update.
Warning
Imported Samples are not updated automatically! Back up any custom property values, delete the sample scripts used in your scene currently and re-import samples.
Note
Some releases may contain breaking changes. This will be indicated by a new MAJOR version.
Unity Editor shows
[Package Manager Window] Error adding package: https://github.com/edgegap/edgegap-unity-matchmaking-sdk.git
- If you’re adding our plugin via git URL, you will need to have a git client installed.
Unity Editor 2021 shows
failed to resolve assembly: 'Edgegap.Matchmaking.SDK...
- This is a known issue when using plugin with Unity's Burst compiler.
- Install plugin via ZIP archive and delete
EdgegapMatchmakingSDK.asmdefin the plugin folder to resolve this.
Visual Studio shows
type or namespace name could not be foundfor Edgegap namespace.
- In your Unity Editor, navigate to Edit / Preferences / External Tools / Generate .csproj files.
- Make sure you have enabled Git packages.
- Click Regenerate project files.
This section is only for developers working on this plugin or other plugins interacting / integrating this plugin.
This project uses CSharpier code formatter to ensure consistent and readable formatting, configured in /.config/dotnet-tools.json.
See Editor integration for Visual Studio extensions, optionally configure Reformat with CSharpier on Save under Tools | Options | CSharpier | General. You may also configure running formatting as a pre-commit git hook.
