What problem does it solve?
Setting up and maintaining HybridCLR hot-update workflows in Unity involves many error-prone manual steps: configuring hot-update assemblies, compiling DLLs, generating AOTGenericReferences and link.xml, and staging artifacts for bundle builds. This Skill automates the entire prebuild pipeline through reflection-based Editor APIs, with diagnostics that catch misconfiguration before it breaks runtime hot updates.
Core Features & Use Cases
- Settings & Environment Management: Read and write HybridCLRSettings, probe il2cpp_plus installation state, and resolve all input/output paths per build target.
- Compile & Generation Pipeline: Compile hot-update DLLs, run the full GenerateAll prebuild pipeline or individual steps (link_xml, aot_dlls, method_bridge, aot_generic_reference).
- Diagnostics & Validation: Run pre-flight checks that return categorized errors and warnings, and verify AOTGenericReferences.cs stays in sync with patchAOTAssemblies settings.
- YooAsset Integration: Stage compiled DLLs as .bytes TextAssets into a collector directory so YooAsset can pack them into bundles.
- Use Case: After editing hot-update C# code, call hybridclr_compile_dlls for Android, verify no assemblies are missing, copy the DLLs into Assets/HotUpdateDlls as .bytes, then trigger a YooAsset bundle build — all without touching the Editor menus.
Quick Start
Ask the AI to run hybridclr_status to check whether HybridCLR is installed and correctly configured in the current Unity project.