Unity HybridCLR Hot Update Tool Learning Diary (1)

Table of contents

  1. Import the HybridCLR package and install it
  2. Set related options

Import the HybridCLR package

First find the git address of the HybridCLR package:https://github.com/focus-creative-games/hybridclr

Copy the http address of the package, open unity - window - package manager; click the + in the upper left corner, select Add Package form git URL, paste the address you just copied into it, and click Add; then when the import is successful, the HybridCLR option will appear in the unity menu .

Then click Installer - Installation. If the installation status shows Installed, it proves that the installation is successful.

 

Set related options

点击File - Build Setting - Player Setting - Player - Other Setting。

Scripting Backend changed to IL2CPP

Api Compatibility Level changed to .NET Framework

C++ Compiler Configuration changed to Master

Use incremental GC Uncheck (Hybrid does not support incremental GC)

 At this point, the basic preparation work has been completed. Later, I will write about how to use HybridCLR, packaging matters, and how to deal with various errors.

Guess you like

Origin blog.csdn.net/ThreePointsHeat/article/details/130708023