Skip to main content

Unity SDK

The Immutable SDK for Unity helps you integrate your game with Immutable Passport.


💡Supported Platforms
  • Windows (64-bit) - Supports Mono builds. For IL2CPP, refer to this.
  • macOS (minimum version 12.5)
  • Android (minimum version 5.1)
  • iOS (minimum version 15.2)
  • WebGL
💡Supported Unity Versions
  • Unity 2021.3 or newer for Windows, macOS, Android, iOS and WebGL.
  • Unity 2019.4 or newer for macOS, Android, and iOS. Windows isn't supported on Unity versions from 2019.4 up through 2021.2.
💡Target Platform vs Unity Editor Platform

We have added compilation flags to our Unity SDK to ensure that specific Unity editors can only build certain platform targets. Please note that the table below indicates which editor you can use to build a platform target, but it does not determine whether you can run the SDK in that editor.

For example, our SDK allows you to build iOS games using a macOS Unity Editor, but you cannot use the Windows Unity Editor.

  • Target Platform: The platform you're building for
  • Unity Editor Platform: The OS you're running the Unity Editor on
Target PlatformWindowsmacOSAndroidiOSWebGL
Windows Unity Editor
macOS Unity Editor

Packages

The Unity SDK consists of multiple packages:

NameDescription
PassportCore package for the Unity SDK, offering authentication, wallet creation, and interaction with Immutable zkEVM.
Orderbook(Alpha) Generated API client for creating, cancelling, and executing orders.
zkEVM APIGenerated API clients for interacting with Immutable zkEVM APIs.

Examples

  • Sample App - see the sample application for examples of how to use the Immutable Unity SDK.
  • Sample Game - see the sample game tutorial on how to use the Immutable Unity SDK.