to achieve goals:
- Create hot update assembly
- Load the hot update assembly and execute the hot update code, print
Hello, HybridCLR
- Modify the hot update code, print
Hello, World
Prepare the environment
Install Unity
HybridCLR also supports 2019.4.x, but for beginners, please follow the requirements below to run through the process first, and then try 2019.4.x according to the installation HybridCLR document .
- Install any version of 2020.3.26+, 2021.3.0+, 2022.3.0+. If you are not an experienced Unity developer, version 2021.3.1 is recommended.
- Depending on your operating system, you must select
Windows Build Support(IL2CPP)
or when selecting modules during installationMac Build Support(IL2CPP)
.