{
  "id": "unity/vfx-graph-buffer-overflow",
  "signature": "VFX Graph: Buffer overflow detected in particle system",
  "signature_zh": "VFX 图形：粒子系统中检测到缓冲区溢出",
  "regex": "VFX Graph: Buffer overflow detected",
  "domain": "unity",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The particle system in VFX Graph exceeds the allocated buffer capacity due to excessive particle count or lifetime.",
  "root_cause_type": "generic",
  "root_cause_zh": "VFX 图形中的粒子系统因粒子数量或生命周期过多而超出分配的缓冲区容量。",
  "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": "Unity 2023.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Increase the 'Max Particles' property in the VFX Graph inspector to a very high value.",
      "why_fails": "Simply increasing max particles without optimizing spawn rates or lifetime can still cause overflow if the system is poorly designed.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "Disable all VFX Graph components in the scene to see if the error disappears.",
      "why_fails": "This only masks the issue; the root cause (buffer overflow) remains and may reappear when VFX is re-enabled.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Reduce the spawn rate or particle lifetime in the VFX Graph. For example, set 'Spawn Rate' to 50 particles per second and 'Lifetime' to 2 seconds.",
      "success_rate": 0.75,
      "how": "Reduce the spawn rate or particle lifetime in the VFX Graph. For example, set 'Spawn Rate' to 50 particles per second and 'Lifetime' to 2 seconds.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Enable 'Capacity' auto-resize or increase buffer capacity in the VFX Graph asset settings under 'Particle' > 'Capacity'.",
      "success_rate": 0.85,
      "how": "Enable 'Capacity' auto-resize or increase buffer capacity in the VFX Graph asset settings under 'Particle' > 'Capacity'.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "在 VFX 图形中降低生成速率或粒子生命周期。例如，将“生成速率”设置为每秒 50 个粒子，“生命周期”设置为 2 秒。",
    "在 VFX 图形资源设置中启用“容量”自动调整或增加缓冲区容量，路径为“粒子”>“容量”。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.unity3d.com/Manual/VisualEffects.html",
  "official_doc_section": null,
  "error_code": "VFX-001",
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-06-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}