Releases: thirdweb-dev/unity
Releases · thirdweb-dev/unity
v5.17.2
v5.17.1
v5.17.0
What's Changed
- Additions from Thirdweb's .NET SDK Release 2.17.0
- Includes Thirdweb Nebula AI Integration.
- Combine with Backend Wallets & Account Abstraction to create truly unique experiences.
- Moved analytics to the .NET SDK (DLL), removed from
ThirdwebManagerBase
. MetaMaskWallet.Disconnect
now callswallet_revokePermissions
allowing you to fully disconnect the extension - thanks @tulfix !
v5.16.0
What's Changed
- Additions from Thirdweb's .NET SDK Release 2.16.0
- Integrated
AuthProvider.SiweExternal
in ThirdwebManager.- Work around your favorite external wallet not having Unity support.
- OAuth style linking variant of
AuthProvider.Siwe
, but using wallets and SIWE in a static React environment.
var walletOptions = new WalletOptions(
WalletProvider.InAppWallet,
421614,
new InAppWalletOptions(authprovider: AuthProvider.SiweExternal)
);
var wallet = await ConnectWallet(walletOptions);
ThirdwebDebug.Log("Connected to InAppWallet with SiweExternal auth provider." + await wallet.GetAddress());
AuthProvider.Guest
now uses a unique device identifier, making it a little more persistent than the previous implementation.- Guest mode is meant as an ephemereal login method, you should allow users to link additional auths later in the flow.
- This update makes Guest mode a little more persistent in cases where users delete something by mistake.
- Fixed edge case where
Application.identifier
being an empty string with some build configs would cause an empty bundle id to be used as the fallback instead of com.company.product.
v5.15.1
What's Changed
- Fixed Unity <2022.1 compilation error with the WebGL threading patcher.
- Unity's 2021 LTS support had ended in May 2024, we recommend updating to 2022.3 or Unity 6.
- We will no longer officially support 2021.
- Added
ThirdwebUnityExtensions.CopyToClipboard
Cross-Platform Utility.- Works in WebGL with an added fallback mechanism.
- Usable as a string extension (
walletAddress.CopyToClipboard()
).
v5.15.0
What's Changed
- Additions from Thirdweb's .NET SDK Release 2.14.0
- Additions from Thirdweb's .NET SDK Release 2.15.0
- Added
AuthProvider.Backend
's relatedwalletSecret
to In-App and Ecosystem Wallets' options. You can now create server side wallets! - Split
ThirdwebManager
intoThirdwebManagerBase
,ThirdwebManager
(frontend),ThirdwebManagerServer
(backend)- Adds
ThirdwebManagerServer
prefab, usesSecretKey
instead ofClientId
andBundleId.
- Adds a lot of flexibility and extendability for various use cases.
- Adds
var serverWalletOptions= new WalletOptions(
provider: WalletProvider.InAppWallet,
chainId: 421614,
inAppWalletOptions: new InAppWalletOptions(authprovider: AuthProvider.Backend, walletSecret: "my-epic-secret")
);
var myAiWallet = await ThirdwebManagerServer.Instance.ConnectWallet(serverWalletOptions);
It's time to make blockchain-powered AI allies and opponents that leverage backend wallets and perhaps even Nebula.
v5.14.1
Autoconnect Feature
Flag under ThirdwebManager > Preferences.
If enabled, Thirdweb will automatically connect to the last connected wallet on initialization (this behavior does not apply to the WalletConnectWallet provider option).
If a wallet was connected as a non smart wallet, then later upgraded, the smart wallet is saved as the last wallet, and the next session will autoconnect to the smart wallet.
Any failure during this entire flow should not throw.
v5.14.0
What's Changed
- Additions from Thirdweb's .NET SDK Release 2.13.0
- Exposed the ability to override RPC per chain ID in the
ThirdwebManager
. - Exposed the ability to force specific wallet ids into your WalletConnect modal in the
ThirdwebManager
. - Added hover tooltips for all
ThirdwebManager
options.