ποΈ Introduction
The Ultimate Edition is primarily aimed at projects with strict performance requirements. Compared to the community edition, the Ultimate Edition has a significant performance improvement, almost reaching native performance levels (100% unchanged), while also offering good optimizations in terms of security and memory.
ποΈ Quick Start
Before attempting hot updates on Android or iOS platforms, ensure that the hot update workflow is successfully running on Win64 or MacOS Standalone platforms.
ποΈ Building and Hot Updating
Building the Game
ποΈ Loading Hot-Update Assemblies
The flagship version, compared to the community and professional versions, includes DHE assemblies. Since DHE assemblies require additional parameters to indicate how the runtime should dynamically select to execute the original AOT code or the hot-update code, they cannot be loaded using the Assembly.Load interface. Therefore, special loading rules are required.
ποΈ MetaVersion Workflow
DHE hot updates previously utilized two workflows:
ποΈ DHAO Workflow
If you are using HybridCLR version >= v7.7.0, it is recommended to use the MetaVersion Workflow.
ποΈ User Manual
Installation
ποΈ Function Injection Rules
In order to avoid dirty function contagion, a small piece of check jump code is injected into the header of all functions by default. This injected code has a significant impact on the performance of short functions and the length of the final generated code (increased code by about 30%).
ποΈ Redirect metadata
The anonymous classes and anonymous functions generated by the compiler are unstable. Sometimes, just because a new type or function is added to the assembly, the names of a large number of anonymous classes and anonymous functions will change.
ποΈ Frequently Asked Questions
ExecutionEngineException: Could not run the type initializer for origin DHE type 'xxx'