View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.2.1
- Last updated
- First released
- Unity version
- 2022.3.62 or later
- Package size
- 365 KB
- Files
- 15
- Favorites
- 9
- Views in the past week
- 7
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $9.99 on
Keywords
AutoReference | Automatic Component & GameObject References
- Price drop
Auto-assign Unity references instantly. No drag, no GetComponent(), no runtime cost, no lost references. Just add [AutoReference], choose where to search, and references are assigned automatically.
Lowest recorded price
Get 50% off on Asset Store (opens in new tab)Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
AutoReference | Automatic Component & GameObject References screenshot 1
About this asset
Tired of losing references or cluttering your scripts with GetComponent() calls?
AutoReference does the work for you automatically assigning components and GameObject references directly in the Unity Editor, before your game even runs.
Simply add the [AutoReference] attribute, choose where to search (Self, Children, Parents, Scene, or Resources), and your references are instantly found and assigned no manual drag-and-drop, no runtime overhead.
Zero runtime cost runs only in the Editor.
Cleaner code no more messy initialization logic.
Fully customizable supports name, index, inactive objects & visibility filters.
Safer & faster prevents missing refs and stuttering from GetComponent() calls.
Whether you're a solo dev or part of a large team, AutoReference keeps your workflow smooth, efficient, and reliable.
From the publisher's Asset Store listing.
Technical details
Key Features
- Automatic reference assignment no manual drag & drop or GetComponent() calls.
- Zero runtime impact runs entirely in the Unity Editor.
- Multiple search scopes: Self, Children, Parents, Scene, Containing Scene, and Resources.
- Smart filtering by name or index, with optional inactive inclusion.
- Conditional field visibility show only when the reference is null.
- Clean, readable code reduces boilerplate and improves performance.
- Custom PropertyDrawer integrates seamlessly with the Unity Inspector.
- Editor-only execution safe for both personal and commercial projects.
- Comes with full documentation, support, and licensing details.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.5.0f1 | Compatible | Compatible | Compatible | Compatible |
| 6000.4.1f1 | Compatible | Compatible | Compatible | Compatible |
| 6000.3.8f1 | Compatible | Compatible | Compatible | Compatible |
| 6000.0.69f1 | Compatible | Compatible | Compatible | Compatible |
| 2022.3.62f3 | Compatible | Compatible | Compatible | Compatible |
- Tested and guaranteed to work from Unity 2021.3 LTS up to the Latest Unity Supported Version.
- Compatible with all three render pipelines.
- Zero build performance impact.
As listed on the Asset Store.