View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2023.2.20 or later
- Package size
- 644 KB
- Files
- 38
- Favorites
- 18
- Views in the past week
- 9
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Follow & Protect Agent
Follow & Protect Agent is an ML‑Agents powered companion AI that follows the player and protects them from enemies. Plug‑and‑play demo and training setup included.
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 7
Follow & Protect Agent screenshot 1
About this asset
Follow & Protect Agent is a production‑ready companion AI for Unity. The agent follows the player at an optimal distance, detects and engages enemies, and is fully driven by a trained Unity ML‑Agents model. The package includes a clean demo scene for inference, training utilities, and documentation to fine‑tune or retrain the model.
Key features:
- Smart following: maintains optimal distance and orients to the player.
- Combat AI: detects enemies, aims and shoots with reward‑shaped behavior.
- Pure NN control: movement/attack decisions come from the ML model.
- Ready‑to‑use demo: minimal scene with HUD and camera controller.
- Training tools: config, scene helpers, validation and scene fixer.
- Clean codebase: English UI, tooltips, and API reference.
From the publisher's Asset Store listing.
Technical details
What’s included:
- Scripts for Agent, Player, Enemy, Camera, Spawner, Health.
- Demo scene FPA_DemoScene and Training scene.
- Trained ONNX model (optional) and training config (PPO).
- Editor utilities (menu under Tools/FollowProtectAgent).
- Documentation: README, Quick Start, API Reference, Training Guide.
Compatibility:
- Unity 2022.3+ (Built‑in RP). No external Asset Store dependencies.
- Works out of the box with primitive objects; can be integrated into characters.
Use cases:
- Companion/guard AI prototypes.
- ML‑driven behaviors for action or survival games.
- Educational samples for ML‑Agents workflows.
Notes:
- If you change observation/action spaces, retraining is required.
- Sentis/ML‑Agents packages should be installed via Package Manager.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2023.2.20f1 | Compatible | Not listed | Not listed |
As listed on the Asset Store.