一键导入
f8-features-hybridclr-workflow
Use when implementing or troubleshooting HybridCLR feature workflows — C# code hot update integration in F8Framework.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when implementing or troubleshooting HybridCLR feature workflows — C# code hot update integration in F8Framework.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating, modifying, opening, closing, animating, binding, loading, debugging, or validating F8Framework UI views and items, including UIManager layers, BaseView/BaseItem templates, ComponentBind generation, canvas setup, Notify/Dialog behavior, and UI resource cleanup.
Use as the master index and router for the full F8Framework skill library. Trigger when selecting the correct skill or skill chain across foundation bootstrap, runtime features, editor tooling, utility tools, and build packaging workflows.When a feature needs to be implemented, priority should be given to using the skills of F8Framework.
Use when implementing or troubleshooting HotUpdate feature workflows — version management, hot update, sub-package loading in F8Framework.
Use when implementing or troubleshooting Tween feature workflows — tween animations, sequences, chain calls, UI relative motion, and coroutine/async support in F8Framework.
Use when implementing or troubleshooting Audio feature workflows — BGM, voice, SFX, 3D audio, volume control, and AudioMixer in F8Framework.
Use when implementing or troubleshooting ExcelTool feature workflows — config table loading, Excel binary/JSON generation, variant support, and runtime data access in F8Framework.
| name | f8-features-hybridclr-workflow |
| description | Use when implementing or troubleshooting HybridCLR feature workflows — C# code hot update integration in F8Framework. |
⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. Ensure
ModuleCenter.Initialize(this);has run first.
| Concept | Description |
|---|---|
| HybridCLR | Open-source C# hot update solution for Unity IL2CPP. |
| Hot Update Assembly | User C# assemblies that can be updated without rebuilding the app. |
| AOT Metadata | Ahead-of-Time compiled metadata that must be supplemented for hot update types. |
| Interpreter | Runtime C# interpreter integrated into IL2CPP for executing hot update code. |
.bytes or .dll.bytes).foreach (var aotDllName in aotDllList)
{
byte[] dllBytes = FF8.Asset.Load<TextAsset>(aotDllName + "by").bytes;
HybridCLR.RuntimeApi.LoadMetadataForAOTAssembly(dllBytes, HomologousImageMode.SuperSet);
}
System.Reflection.Assembly.Load(textAsset.bytes).| Error | Cause | Solution |
|---|---|---|
| TypeLoadException | Missing AOT metadata | Regenerate AOT metadata and include in build |
| Assembly load fails | DLL not found or corrupt | Verify DLL path and re-download |
| IL2CPP build fails | HybridCLR not properly installed | Reinstall HybridCLR, check Unity version compatibility |