원인: ProjectileSpawner.Trigger 영역 BoxCollider2D.isTrigger=true 활성 (단계 2) 직후·Initialize (단계 3) 이전 OnTriggerEnter2D 발화 가능 → _runtime=null → NullReferenceException line 187 → SelfDestruct 미호출 → 영구 잔존. fix: 1. OnTriggerEnter2D 영역 `_runtime == null || _data == null` defensive return 2. Update 영역 `_data == null` 시 즉시 SelfDestruct (잔존 차단) 본 PM 자성 #10 — race condition 사전 측정 누락. ProjectileSpawner.Trigger 영역 collider 부착 시점·Initialize 호출 시점 영역 사이 OnTriggerEnter2D 발화 가능성 사전 측정 X. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| Assets | ||
| Packages | ||
| ProjectSettings | ||
| .gitignore | ||
| EerieVillage.slnx | ||