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, Unity 2022 & Unity 6.
  • First party support for In-App Wallets (Guest, Email, Phone, Socials, Custom Auth+).
  • First party support for Account Abstraction (Both EIP-4337 & zkSync Native AA).
  • Instant connection to any chain with RPC Edge integration.
  • Integrated IPFS upload/download.
  • Easy to extend or wrap.
  • 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, Custom) ✔️ ✔️ ✔️
Ecosystem Wallet (IAW w/ partner permissions) ✔️ ✔️ ✔️
Private Key Wallet (Ephemereal, good for testing) ✔️ ✔️ ✔️
Wallet Connect Wallet (400+ Wallets) ✔️ ✔️ ✔️
MetaMask Wallet (Browser Extension) ✔️
Smart Wallet (Account Abstraction: 4337 & ZkSync Native) ✔️ ✔️ ✔️

✔️ 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

  • Recommended Unity Editor Version: 2022.3+ (LTS)
  • 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.
  • To use your own WalletConnect Project ID, edit Assets/Thirdweb/Plugins/WalletConnectUnity/Resources/WalletConnectProjectConfig.asset.

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 [email protected].