Skip to content

Releases: thirdweb-dev/unity

v4.20

08 Aug 20:18
dafafea
Compare
Choose a tag to compare

What's Changed

  • [Native] Upgrade MetaMask SDK to 2.1.0 by @ecp4224 in #207
    • Utilizes MetaMask's new ConnectWith functionality to connect and switch to the right network within a single call.
    • Improves network switching behavior and handled errors better.
    • Fixes errors encountered when switching to a MetaMask default chain such as Sepolia.
    • Refactored internal code to use new MetaMaskSDK APIs.
  • [Cross-Platform] Added support for new chains.

v5.0.0-beta.2

07 Aug 20:08
75c36cb
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release

What's Changed

  • Added Farcaster and Telegram as additional InAppWallet AuthProvider options.

Single DLL update, it's that easy with v5, works everywhere.

v5.0.0-beta.1

07 Aug 06:54
7f01c8a
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

A New Era for Thirdweb's Unity SDK

We are thrilled to announce the beta release of our v5 SDK—our most significant update yet, set to redefine blockchain integration in gaming.

Building on our .NET SDK, we've minimized dependencies and reduced the package size by 90%. This beta is the first step toward truly unleashing the potential of blockchain technology in games, offering composable, simple, and clean APIs that can be utilized from anywhere.

Key Improvements

Unified API

  • Seamless Integration Across Platforms: Enjoy a consistent experience across WebGL, Desktop, and Mobile without the need for the WebGL Bridge. Develop once, deploy everywhere.

Enhanced Composability

  • Chain-Agnostic Interaction: Our APIs are designed to work seamlessly with multiple chains, removing the complexities of state management.

Native Experience

  • Stable and Predictable Upgrades: Utilizing our .NET core, the SDK offers a native experience, ensuring stability and predictability with each upgrade.

Simplified ThirdwebManager

  • Intuitive API Changes:
    • ThirdwebManager.Instance.SDK.GetContract is now ThirdwebManager.Instance.GetContract, returning ThirdwebContract.
    • ThirdwebManager.Instance.SDK.Wallet.Connect is now ThirdwebManager.Instance.ConnectWallet, returning IThirdwebWallet.
  • Enhanced Wallet Management: Effortlessly manage multiple wallet connections and track the active wallet.
  • Streamlined Setup: The prefab setup is now more intuitive, making it easier for developers to integrate and get started.

Optimized Package

  • Lighter and Faster: A cleaner, lighter Unity package with minimal dependencies, significantly enhancing performance.
  • Refined Architecture: We've taken control of all layers, excluding the AWS SDK and using Nethereum only for types/encoding. Libraries like Newtonsoft.Json and EDM4U are included to ensure efficiency.

Cross-Platform Consistency

  • Uniform Behavior Across Platforms: Enjoy consistent behavior across all platforms—what you see in the editor is what you get in WebGL, Standalone, and Mobile runtime environments.
  • Fully Customizable: The SDK can be white-labeled to match your branding needs.

Comprehensive Chain Support

  • Universal Compatibility: All chains are supported, and no patches are needed to support newly deployed chains.

Join the Future of Blockchain Gaming

Our v5 SDK is still in active development, and we invite you to be part of this journey. For more details, visit our v5 branch readme.

Documentation and Support

v4.19.0

06 Aug 23:12
61d0a57
Compare
Choose a tag to compare

What's Changed

  • [Native] Added support for Discord Login.
  • [Cross-Platform] Added support for new chains.

Discord has been added to Prefab_ConnectWallet and can be tested in Scene_Prefabs

discord-unity-v4

v4.18.0

01 Aug 00:34
0b3f1b9
Compare
Choose a tag to compare

What's Changed

  • [WebGL] Added support for Coinbase Smart Wallets
    • Simply use the existing WalletProvider.Coinbase in WebGL to test it out!
    • If you do not have a Coinbase wallet browser extension, you will be prompted to create a Coinbase Smart Wallet.
    • Note that to test this locally you must add a CORS header, see our WebGL Build Instructions for example code.
  • [WebGL] Updated bridge.
  • [Cross-Platform] Added support for new chains.

99e6ec58743f279a84d0a920b25d39d7

v4.17.0

25 Jul 14:14
2c59e79
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] General improvements and cleanup of the low-level Transaction builder class, typically created from Contract.Prepare.
    • Added Transaction.Populate - a way for you to prepare a transaction by populating all its fields without sending it.
    • Added Transaction.GetGasFees to get EIP-1559 max fee per gas and max priority fee per gas.
    • Contract.Prepare will now return fully populated Transaction including Data cross platform, instantly.
    • Fixed edge case where if a chain did not support EIP-1559, and no max fee/max priority fee were explicitly set but a gas price was explicitly set, the gas price would be recalculated and overriden.
  • [Cross-Platform] Added Wallet.GetNonce - a simple way to get the connected wallet's nonce, defaults to pending blockTag but can be overriden.
  • [Cross-Platform] Removed the Contract.Prepare variant that takes in a from address override to avoid confusion and simplify syntax.
  • [Cross-Platform] Added support for new chains.
  • [WebGL] Updated bridge.

v4.16.8

18 Jul 12:03
a2e2960
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added Oasys Mainnet to list of chains with forced type 0 transactions.

v4.16.7

16 Jul 12:23
2366420
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Updated chains package, added support for more chains.
  • [Cross-Platform] Added Oasys Testnet and Vanguard (Vanar Testnet) to list of chains with forced legacy type transactions. Fixes issues with transactions on these chains when not using Smart Wallet.

v4.16.6

26 Jun 18:50
8a6cdaa
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added support for new chains.

v4.16.5

21 Jun 19:47
3108703
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added support for new chains.