[PLA-2415] Enjin Platform Cloud v3#36
Merged
Merged
Conversation
Collaborator
Author
|
This doesn't include code signing on the Unity Package Manager package. It worked for me without it, but not sure if it is something we need. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a major update for the Enjin Platform SDK, targeting the v3 GraphQL API and adding first-class Unity Package Manager (UPM) distribution support. The update consolidates all previous sub-packages into a single package, switches to .NET Standard 2.1, and replaces hand-written models with auto-generated GraphQL client code. Additionally, it provides new build scripts and workflows for Unity integration and documents the schema regeneration process.
Key changes:
Platform and Build System Updates
.github/workflows/build.yml) from Windows/MSBuild/NuGet to Ubuntu/.NET 9/dotnet CLI, modernizing the pipeline and ensuring compatibility with the new SDK structure..github/workflows/unity.yml) to automate building, packaging, tagging, and releasing the Unity UPM package on every tagged release or manual trigger.scripts/assemble-upm.shscript to assemble the UPM package from build outputs and templates, producing both a staging directory and a distributable tarball.SDK and Package Structure
Beam,FuelTanks,Marketplace) into a singleEnjin.Platform.Sdkpackage, and removed all v2-specific and hand-written GraphQL models in favor of a fully auto-generated v3 client. [1] [2].NET Standard 2.0to.NET Standard 2.1for improved compatibility with Unity 2021.3+, Godot 4+, and .NET 5+. [1] [2]GraphQL Client Generation
CONTRIBUTING.md, detailing how to use theplatform-sdk-generatorstool to produce the auto-generated client code underSchema/.CHANGELOG.mdandREADME.mdto reflect the new auto-generated GraphQL client, usage examples, and Unity installation instructions. [1] [2]Unity Support
README.md, including UPM installation via git URL or tarball.link.xmlfor code stripping, and all necessary Unity meta files.References:
[1] [2] [3] [4] [5] [6]