UGraphQuery – Tools for GraphQL is a Unity plugin from OmnInteractive for connecting to GraphQL endpoints, sending queries and subscriptions, and managing headers and authentication. It requires Unity 2022 or newer and is listed under Network & Multiplayer.
UGraphQuery – Tools for GraphQL is a networking plugin for Unity projects that need to talk to GraphQL APIs. It is aimed at developers who want to fetch or update data from a web backend inside a game or interactive application without writing their own request layer. The plugin is distributed as a Unity package for Unity 2022 and later, and it is offered under Personal and Professional licenses. It suits online services, account systems, leaderboards, live data feeds and any project where a GraphQL server is part of the architecture.
Specifications
| Seller | OmnInteractive |
|---|---|
| Type | Plugin |
| Category | Network & Multiplayer |
| Engines | Unity 2022+ |
| Unity version | 2022+ |
| Formats | Unity |
| File types | .unitypackage |
| Licenses | Personal, Professional |
| Published | 2024-11-08 |
Key features
- Connects to any GraphQL endpoint with minimal setup
- Supports queries with or without variables
- Supports single queries and real-time subscriptions
- Asynchronous requests that do not block the main thread
- Custom headers and authentication token management
- Built-in error handling callbacks for failed requests
- Unity package file (.unitypackage) for Unity 2022+
Querying GraphQL Endpoints from Unity
The plugin connects to any GraphQL endpoint with a small amount of setup. Queries can be sent with or without variables, so you can request exactly the fields your game needs. Single queries and subscriptions are both supported, which covers one-off data loads as well as real-time updates.
Requests run asynchronously using Unity's asynchronous programming model, so network calls do not block the main thread. Error handling callbacks let your code react to failed requests and customize how problems are shown to players.
Headers, Authentication and Performance
Custom headers and authentication tokens can be managed directly in the plugin, which allows requests to protected APIs that need user login or API key access. The creator describes the architecture as lightweight, with the aim of keeping the impact on memory use and execution speed small. This is relevant for projects that run on constrained hardware, although the package is listed for Unity 2022+ only.
Use cases
- Online player accounts
- Leaderboards and live rankings
- Backend-driven live game data
- Multiplayer service integration
- Unity web-connected applications
UGraphQuery - Tools for GraphQL FAQ
Which Unity versions does UGraphQuery support?
UGraphQuery is listed for Unity 2022 and newer. It is distributed as a .unitypackage file.
Does UGraphQuery support GraphQL subscriptions?
Yes. The plugin supports both single queries and subscriptions for real-time data updates.
Can I use UGraphQuery with protected APIs?
Yes. Custom headers and authentication tokens can be managed in the plugin, which allows interaction with APIs that require user authentication or API key access.
Which license types are available for UGraphQuery?
The plugin is offered under Personal and Professional licenses.
