{
  "id": "unity/input-system-duplicate-binding",
  "signature": "InputSystem: Conflict detected: Multiple actions bound to same control 'Keyboard/space'",
  "signature_zh": "输入系统：检测到冲突：多个操作绑定到同一控件'Keyboard/space'",
  "regex": "InputSystem: Conflict detected:\\s+Multiple actions bound to same control\\s+'.*'",
  "domain": "unity",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Multiple input actions in the same Input Action Asset are bound to the same physical control, causing ambiguous input handling.",
  "root_cause_type": "generic",
  "root_cause_zh": "同一输入操作资源中的多个输入操作绑定到同一物理控件，导致输入处理歧义。",
  "versions": [
    {
      "version": "Unity 2022.3",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Unity 2023.1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Input System 1.5.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Input System 1.7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Deleting the entire Input Action Asset and recreating it from scratch.",
      "why_fails": "The conflict arises from binding assignments, not asset corruption; recreating the asset without adjusting bindings reproduces the same conflict.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Setting InputSystem.settings.ignoreConflictResolution = true in code or project settings.",
      "why_fails": "This suppresses the warning but does not resolve the underlying ambiguity, potentially causing unpredictable input behavior at runtime.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Renaming the actions to different names without changing bindings.",
      "why_fails": "Conflicts are based on control paths, not action names; renaming does not alter which controls are bound.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "In the Input Actions window, select the action with the duplicate binding, expand its bindings, and delete the one that maps to 'Keyboard/space' or change its path to a different key.",
      "success_rate": 0.9,
      "how": "In the Input Actions window, select the action with the duplicate binding, expand its bindings, and delete the one that maps to 'Keyboard/space' or change its path to a different key.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Select the conflicting binding in the Input Actions editor, click 'Add Interaction' and choose 'Hold' (set hold time to 0.5s). This allows the same key to trigger different actions based on press duration.",
      "success_rate": 0.85,
      "how": "Select the conflicting binding in the Input Actions editor, click 'Add Interaction' and choose 'Hold' (set hold time to 0.5s). This allows the same key to trigger different actions based on press duration.",
      "condition": "",
      "sources": []
    },
    {
      "action": "In the Input Actions editor, create a new action map (e.g., 'Menu'), move the conflicting action there, and in code enable only one map at a time: 'playerInput.actions.FindActionMap(\"Gameplay\").Enable(); playerInput.actions.FindActionMap(\"Menu\").Disable();'",
      "success_rate": 0.92,
      "how": "In the Input Actions editor, create a new action map (e.g., 'Menu'), move the conflicting action there, and in code enable only one map at a time: 'playerInput.actions.FindActionMap(\"Gameplay\").Enable(); playerInput.actions.FindActionMap(\"Menu\").Disable();'",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "In the Input Actions window, select the action with the duplicate binding, expand its bindings, and delete the one that maps to 'Keyboard/space' or change its path to a different key.",
    "Select the conflicting binding in the Input Actions editor, click 'Add Interaction' and choose 'Hold' (set hold time to 0.5s). This allows the same key to trigger different actions based on press duration.",
    "In the Input Actions editor, create a new action map (e.g., 'Menu'), move the conflicting action there, and in code enable only one map at a time: 'playerInput.actions.FindActionMap(\"Gameplay\").Enable(); playerInput.actions.FindActionMap(\"Menu\").Disable();'"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.unity3d.com/Packages/com.unity.inputsystem@1.7/manual/ActionBindings.html#conflicts",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.88,
  "resolvable": "true",
  "first_seen": "2023-06-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}