# 输入系统：检测到冲突：多个操作绑定到同一控件“Keyboard/w”

- **ID:** `unity/input-system-binding-conflict`
- **领域:** unity
- **类别:** config_error
- **错误码:** `INPUT-202`
- **验证级别:** ai_generated
- **修复率:** 92%

## 根因

同一或不同操作映射中的两个或多个输入操作绑定到同一输入控件，导致歧义。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| Unity 2022.3 | active | — | — |
| Unity 2023.1 | active | — | — |
| Unity 2023.2 | active | — | — |

## 解决方案

1. ```
   在输入操作资源中，检查每个操作的绑定并删除重复项。使用“窗口 > 输入系统 > 输入调试器”下的“查找重复绑定”工具。
   ```
2. ```
   使用“复合”绑定（例如 2D 向量）进行移动，避免为每个键单独绑定。
   ```

## 无效尝试

- **Remove all bindings and re-add them manually one by one.** — This is time-consuming and may reintroduce the same conflict if the root cause (duplicate bindings) is not addressed. (30% 失败率)
- **Disable one of the action maps entirely.** — This may break intended gameplay functionality and is an overreaction. (50% 失败率)
