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
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -34,24 +34,26 @@ Note: The Newtonsoft DLL is included as part of the Unity Package, feel free to
34
34
35
35
# Build
36
36
37
+
## General
38
+
39
+
- Use `Smaller (faster) Builds` in the Build Settings (IL2CPP Code Generation in Unity 2022).
40
+
- Use IL2CPP over Mono when possible in the Player Settings.
41
+
- Using the SDK in the editor (pressing Play) is an accurate reflection of what you can expect to see on native platforms.
42
+
- In order to communicate with the SDK on WebGL, you need to `Build and run` your project so it runs in a browser context.
43
+
- In some cases, setting `Managed Stripping Level` to minimal when using IL2CPP is also helpful - you can find it under `Player Settings` > `Other Settings` > `Optimization`
44
+
37
45
## WebGL
38
46
39
47
- Open your `Build settings`, select `WebGL` as the target platform.
40
48
- Open `Player settings` > `Resolution and Presentation` and under `WebGLTemplate` choose `Thirdweb`.
41
-
- Use `Smaller (faster) Builds` in the Build Settings (IL2CPP Code Generation in Unity 2022).
42
49
- Save and click `Build and Run` to test out your game in a browser.
43
50
44
51
If you're uploading your build, set `Compression Format` to `Disabled` in `Player Settings` > `Publishing Settings`.
45
52
46
-
Note that in order to communicate with the SDK on WebGL, you need to `Build and run` your project so it runs in a browser context.
47
-
48
53
## Other Platforms
49
54
50
-
- Use IL2CPP over Mono when possible in the Player Settings.
51
-
- Using the SDK in the editor (pressing Play) is an accurate reflection of what you can expect to see on native platforms.
52
-
- If building to mobile and running into RPC issues, it is best to run Force Resolve from the `Assets` menu > `External Dependency Manager` > `Android Resolver` > `Force Resolve` for example.
55
+
- If building to mobile and running into issues, it is best to run Force Resolve from the `Assets` menu > `External Dependency Manager` > `Android Resolver` > `Force Resolve` for example.
53
56
- If building for iOS and missing a Metamask package, you can double click on `main.unitypackage` under `Assets\Thirdweb\Plugins\MetaMask\Installer\Packages` and reimport the `iOS` folder
54
-
- In some cases, setting `Managed Stripping Level` to minimal when using IL2CPP is also helpful - you can find it under `Player Settings` > `Other Settings` > `Optimization`
0 commit comments