You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -24,28 +24,6 @@ Experience our multichain game demo leveraging In-App Wallets and Account Abstra
24
24
25
25
<sub>✔️ Supported</sub> <sub>❌ Not Supported</sub> <sub>— Not Applicable</sub>
26
26
27
-
# Why Upgrade to v5?
28
-
29
-
Thirdweb's Unity SDK v5 leverages the robust [.NET SDK](https://portal.thirdweb.com/dotnet) for core functionality, providing a unified API and behavior across platforms.
30
-
31
-
## Key Improvements:
32
-
33
-
-**Unified API:** Say goodbye to the WebGL Bridge. Now, enjoy a consistent experience across WebGL, Desktop, and Mobile platforms.
34
-
-**Enhanced Composability:** Use our SDK anywhere without worrying about its state. APIs are chain agnostic, enabling seamless interaction with multiple chains.
35
-
-**Native Experience:** The .NET core provides a native, predictable experience, making upgrades less daunting.
36
-
-**Ecosystem Wallets** The ultimate cross-platform wallet product, suitable for ecosystems wanting to grow out of their shell. Fast, shareable with third parties securely, non-custodial.
37
-
-**Simplified `ThirdwebManager`:**
38
-
-`ThirdwebManager.Instance.SDK.GetContract` is now `ThirdwebManager.Instance.GetContract`, returning `ThirdwebContract`.
39
-
-`ThirdwebManager.Instance.SDK.Wallet.Connect` is now `ThirdwebManager.Instance.ConnectWallet`, returning `IThirdwebWallet`.
40
-
- Handles multiple wallet connections and tracks the active wallet.
41
-
- The prefab is now much simpler and straightforward to setup.
42
-
-**Optimized Package:** Cleaner, lighter Unity package with minimal dependencies, enhancing performance. We took control of all the layers and rewrote them, further improving the experience when using thirdweb infra. No AWS SDK. Nethereum is used only for types/encoding. Newtonsoft.Json and EDM4U are included.
43
-
-**Cross-Platform Consistency:** No behavioral differences between platforms. What you see in the editor is what you get in WebGL, Standalone, and Mobile runtime platforms.
44
-
45
-
## Note:
46
-
47
-
To achieve full .NET core functionality for WebGL, we include a modified version of [WebGLThreadingPatcher](https://github.com/VolodymyrBS/WebGLThreadingPatcher) and have adapted our .NET core to work around any potential issues running raw .NET libraries in WebGL, though all tasks will be executed on one thread. This is required due to Unity's lack of support for C# multithreading in WebGL.
48
-
49
27
# Getting Started
50
28
51
29
1.**Download:** Head over to the [releases](https://github.com/thirdweb-dev/unity-sdk/releases) page and download the latest `.unitypackage` file.
@@ -69,8 +47,9 @@ To achieve full .NET core functionality for WebGL, we include a modified version
69
47
70
48
## WebGL
71
49
50
+
-**WebGL Template:** None enforced, feel free to customize!
72
51
-**Compression Format:** Set to `Disabled` (`Player Settings` > `Publishing Settings`) for final builds.
73
-
-**Testing In-App Wallets (Social Login):** Host the build or run it locally with `Cross-Origin-Opener-Policy` set to `same-origin-allow-popups`.
52
+
-**Testing WebGL Social Login Locally:** Host the build or run it locally with `Cross-Origin-Opener-Policy` set to `same-origin-allow-popups`.
74
53
75
54
Example setup for testing In-App Wallet (Social Login) locally:
76
55
@@ -98,7 +77,11 @@ No action needed for hosted builds.
98
77
## Mobile
99
78
100
79
-**EDM4U:** Comes with the package, resolves dependencies at runtime. Use `Force Resolve` from `Assets` > `External Dependency Manager` > `Android Resolver`.
101
-
-**Redirect Schemes:** Set custom schemes matching your bundle ID in `Plugins/AndroidManifest.xml` or equivalent for InAppWallet OAuth.
80
+
-**Redirect Schemes:** Set custom schemes matching your bundle ID in `Plugins/AndroidManifest.xml` or equivalent to ensure OAuth redirects.
81
+
82
+
# Migration from v4
83
+
84
+
See https://portal.thirdweb.com/unity/v5/migration-guide
0 commit comments