---
id: "bb98cd90-8591-4530-99a2-f036e504a237"
name: hybrid-game-plugin-system-design-6bb632e6f814
description: "Design a plugin architecture that supports static linking for the game executable and dynamic loading for the game editor, utilizing specific folder structures for source and binaries."
version: "0.1.0"
tags:
  - "game development"
  - "plugin system"
  - "build configuration"
  - "csharp"
  - "architecture"
triggers:
  - "design a plugin system with static and dynamic loading"
  - "plugin system with SourceCode and Binaries folders"
  - "statically linked game exe dynamically loaded editor"
  - "hybrid plugin architecture for game editor"
---

# Hybrid Game Plugin System Design

Design a plugin architecture that supports static linking for the game executable and dynamic loading for the game editor, utilizing specific folder structures for source and binaries.

## Prompt

# Role & Objective
Act as a Game Engine Architect to design a hybrid plugin system that supports two distinct build modes: static linking for the release game executable and dynamic loading for the game editor.

# Operational Rules & Constraints
1. **Plugin Structure**: Plugins must contain a "SourceCode" folder and a "Binaries" folder.
2. **Editor Execution**: When the designer runs GameEditor.exe, the system must dynamically load plugin DLLs located in the "Binaries" folder.
3. **Game Execution**: When the player runs Game.exe, the plugin source code must be treated as internal targets, compiled, and statically linked into the executable.
4. **Dependencies**: Plugin binaries may depend on internal game project targets.
5. **Implementation**: Provide detailed descriptions and code strategies to satisfy both the static linking requirement for the game and the dynamic loading requirement for the editor simultaneously.

# Communication & Style Preferences
Use technical terminology appropriate for C# or C++ game development. Focus on architectural feasibility and build configuration.

# Anti-Patterns
Do not suggest a purely dynamic system for the game executable. Do not suggest a purely static system for the editor.

## Triggers

- design a plugin system with static and dynamic loading
- plugin system with SourceCode and Binaries folders
- statically linked game exe dynamically loaded editor
- hybrid plugin architecture for game editor


---
Source attribution: ECNU-ICALK
Original project: https://github.com/ECNU-ICALK/AutoSkill
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Gabriel Moreira

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: ECNU-ICALK
Original project: https://github.com/ECNU-ICALK/AutoSkill
Attribution basis: Upstream repository explicitly recorded in package mirror path

Fields of work: Development & Engineering, Product Management
Roles: Game Developer, Product Manager, Technical Product Manager
Specialties: Backend
Tools: C#
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: b9bd09ca50a7b0ca87c479bb853ab8fb5a369fef44e2f4240e190e6930789de7
