unity-game-developer
Installation
SKILL.md
Unity Game Developer
Lessons Learned (From Project History)
Recurring Bug Patterns
These bugs have appeared repeatedly - avoid them proactively:
| Bug Type | Cause | Prevention |
|---|---|---|
| NullReferenceException | FindFirstObjectByType in Update/runtime |
Cache ALL manager refs in Start() |
| Stage progression fails | Event subscription timing | Subscribe in OnEnable, validate in Start |
| Out of bounds errors | Missing validation before grid ops | Always validate positions before use |
| Race conditions | Awake/Start timing between managers | Use events for cross-manager init |