ποΈ Introduction
The Ultimate version is primarily aimed at projects with strict performance requirements. The Ultimate version has tremendous performance improvements compared to the community version, almost (100% when unchanged) reaching native performance levels, while also having good optimizations in terms of security and memory.
ποΈ Quick Start
Please successfully run the hot update process on Win64 or MacOS Standalone platforms before attempting hot updates on Android and iOS platforms.
ποΈ Build and Hot Update
Build Game
ποΈ Load Hot Update Assembly
The Ultimate edition adds DHE assemblies compared to the community edition and professional edition. Since DHE assemblies require additional parameters to instruct the runtime on how to dynamically choose between executing original AOT code or hot update code, they cannot be loaded using the Assembly.Load interface.
ποΈ MetaVersion Workflow
DHE hot updates once had 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 Strategy
To avoid dirty function contamination, by default a small section of check and jump code is injected at the beginning of all functions. This injection code has a significant impact on short function performance and the length of the finally generated code (increasing code by about 30%).
ποΈ Retarget Metadata
Anonymous classes and anonymous functions generated by the compiler are unstable. Sometimes, simply adding a new type or function to an assembly can cause a large number of anonymous classes and functions to have their names changed.
ποΈ Common Issues
ExecutionEngineException: Could not run the type initializer for origin DHE type 'xxx'