Skip to content

Commit 98d944e

Browse files
committed
Update Readme/IL2CPP settings
1 parent 3fb761c commit 98d944e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ProjectSettings/ProjectSettings.asset

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,10 @@ PlayerSettings:
835835
Server: 1
836836
Standalone: 1
837837
il2cppCompilerConfiguration: {}
838-
il2cppCodeGeneration: {}
838+
il2cppCodeGeneration:
839+
Android: 1
840+
Standalone: 1
841+
WebGL: 1
839842
managedStrippingLevel:
840843
Android: 4
841844
EmbeddedLinux: 1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The package comes with a sample Scene and Prefab examples showcasing the differe
2828

2929
All you need is a ThirdwebManager component in your scene. See [documentation](https://portal.thirdweb.com/unity) for more information.
3030

31-
The SDK has been tested on Web, Desktop and Mobile platforms using Unity 2021 and 2022 LTS.
31+
The SDK has been tested on Web, Desktop and Mobile platforms using Unity 2021 and 2022 LTS. We recommend using 2022 LTS.
3232

3333
Note: The Newtonsoft DLL is included as part of the Unity Package, feel free to deselect it if you already have it installed as a dependency to avoid conflicts.
3434

@@ -38,7 +38,7 @@ Note: The Newtonsoft DLL is included as part of the Unity Package, feel free to
3838

3939
- Open your `Build settings`, select `WebGL` as the target platform.
4040
- Open `Player settings` > `Resolution and Presentation` and under `WebGLTemplate` choose `Thirdweb`.
41-
- Use `Smaller (faster) Builds` in the Build Settings.
41+
- Use `Smaller (faster) Builds` in the Build Settings (IL2CPP Code Generation in Unity 2022).
4242
- Save and click `Build and Run` to test out your game in a browser.
4343

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

0 commit comments

Comments
 (0)