Skip to content

Commit 9ab2572

Browse files
committed
Update README.md
1 parent 341de9f commit 9ab2572

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,26 @@ Note: The Newtonsoft DLL is included as part of the Unity Package, feel free to
3434

3535
# Build
3636

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+
3745
## WebGL
3846

3947
- Open your `Build settings`, select `WebGL` as the target platform.
4048
- 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).
4249
- Save and click `Build and Run` to test out your game in a browser.
4350

4451
If you're uploading your build, set `Compression Format` to `Disabled` in `Player Settings` > `Publishing Settings`.
4552

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-
4853
## Other Platforms
4954

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.
5356
- 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`
5557

5658
# Usage
5759

0 commit comments

Comments
 (0)