Skip to content

thirdweb-dev/unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thirdweb Unity SDK

All-In-One Cross-Platform Blockchain Unity SDK for Browser, Standalone, Mobile and Server Targets.

Unity Documentation .NET Documentation

Technical Demo

Experience our multichain game demo leveraging In-App Wallets and Account Abstraction built in three weeks - Web3 Warriors.

image

Features

This SDK provides a Unity-first integration of all thirdweb functionality, including but not limited to:

  • Support for all target platforms on Unity 2022+ & Unity 6+.
  • First party support for In-App Wallets (Guest, Email, Phone, Socials, Custom Auth+).
  • First party support for Account Abstraction (EIP-4337, zksync and EIP-7702).
  • Instant connection to any chain with RPC Edge integration.
  • Integrated IPFS upload/download.
  • Full access to the thirdweb API via low-level ThirdwebClient.Api.
  • Easy to extend or wrap, everything is overrdeable.
  • High level contract extensions for interacting with common standards and thirdweb contract standards.
  • Automatic ABI resolution.
  • Build on top of thirdweb's .NET SDK - unity package updates are typically updates to a single DLL/a file or two.
  • Get started in 5 minutes with a simple ThirdwebManager prefab.

Supported Platforms & Wallets

Build games for Web, Standalone, and Mobile using 2000+ supported chains, with various login options!

Wallet Provider Web Standalone Mobile
In-App Wallet (Guest, Email, Phone, Socials, Backend, Custom) ✔️ ✔️ ✔️
Ecosystem Wallet (IAW w/ partner permissions) ✔️ ✔️ ✔️
Reown Wallet (400+ Wallets) ✔️ ✔️ ✔️
Smart Wallet (Account Abstraction: 4337, ZkSync Native, 7702) ✔️ ✔️ ✔️

✔️ Supported   ❌ Not Supported   — Not Applicable

Getting Started

  1. Download: Head over to the releases page and download the latest .unitypackage file.
  2. Explore: Try out Scene_Playground to explore functionality and get onboarded.
  3. Learn: Explore the Unity v5 SDK Docs and the .NET SDK Docs to find a full API reference.

Miscellaneous

  • Minimum Unity Editor Version: Unity 2022.3+
  • Recommended Unity Editor Version: Unity 6+
  • Newtonsoft.Json and EDM4U are included utilities; deselect when importing if already installed to avoid conflicts.
  • If using .NET Framework and encountering HttpUtility errors, create csc.rsp with -r:System.Web.dll under Assets.
  • Use version control and test removing duplicate DLLs if conflicts arise. Our SDK generally works with most versions of the few dependencies we do include.

Additional Resources

Support

For help or feedback, please visit our support site

Security

If you believe you have found a security vulnerability in any of our packages, we kindly ask you not to open a public issue; and to disclose this to us by emailing security@thirdweb.com.