Small collection of tools for Unity used to manage your assets. Part of the DevLocker project.
Asset Store - MultiRename Tool | Asset Store - Scenes In Project | OpenUPM
- Scenes In Project
- MultiRename Tool
- Search Duplicate Assets
- Search References Fast!
- Search Prefabs Components
- Asset Context Menus
- Asset Store plugin:
- OpenUPM support:
npm install -g openupm-cli
openupm add devlocker.tools.assetmanagement
- Github upm package - merge this to your
Packages/manifest.json
{
"dependencies": {
"devlocker.tools.assetmanagement": "https://github.com/NibbleByte/UnityAssetManagementTools.git#upm"
}
All these tools can be found in the menus: "Tools/Asset Management/..."
List of all available scenes in the project for quick access.Useful when you have to switch often between scenes in larger projects.
- List all scenes in project. Pin favourites at the top.
- "►" button per scene to run in play mode directly.
- "+" button per scene to add / remove additively.
- Sort scenes by name, path, date, file size, or just drag them around.
- Scenes are grouped by folder. Groups are separated by little space.
- Customize how scenes are displayed.
- Color-code scenes by path or name.
- Multiple windows support (they all show the same though).
- Tested on a project with 1k+ scenes.
- Personal VS Project preferences.
- Personal preferences stored locally in the Library folder.
- Project preferences to be shared with your team stored in the ProjectSettings folder.
- Live referesh on results when changing the initial parameters.
- Search pattern can contain "\d" to match any numbers.
- Replace pattern can contain "\d" to insert number (counter).
- Can configure numbers start and step value + leading zeroes.
- Can tweak the final name before executing the rename.
- Can search recursively in folders, subassets or scene objects hierarchies.
- Disable Search or Replace pattern to match / replace everything.
Searches the project for duplicate assets (compares files by name only).
- Displays duplicates in a grouped list.
- Textures are displayed as images in a single row for easy comparison.
- Can specify what asset types to search for.
- Type in component names to search for. Works with user and built-in components.
- Supports '&', '|', '!' (and, or, not) expressions for more complex queries.
- Results list displays what GameObjects in the prefab have these components.
- Can place all or individual result prefabs in the scene for quick inspection / tweaking. Can quickly remove them when done.
Search what assets in the project refer directly to the selected ones.
It gets the target GUIDs and performs text search in all project assets without actually loading them.
This is very fast for searching prefabs references in scenes as it wouldn't load the scenes themselves.
- Can search for sub assets (GUID + localId)
- Can search text directly (instead of selected asset GUIDs).
- Select what types of assets to search in. Can include / exclude meta files as well.
- Replace prefab instances in found scenes with another or just remove them.
- Doesn't load assets (especially scenes which is slow).
- Project needs to have "Assets Serialization Mode" set to "Force Text" (which is always a good idea to have)
- Doesn't work with nested prefabs.
- No cache. Every search is done from scratch.
- No recursive mode - search direct references only.
- If result has multiple sub assets, it wouldn't show you which one references the target.
In the screenshot below:
- "Bullet.prefab" is referenced by the "TankShoot" animation.
- "Tank.prefab" is referenced by multiple scenes. Can be replaced or removed in the found scenes with another using the last field.
- The "Attack" sprite sub asset in the "AbilityIcons.png" is referenced by some prefabs and scenes.
Search references to specified GameObject or component in the current scene (or prefab edit stage). Open by right click on GameObject and selecting "Find References In Scene". You can additionally drag in any component as well.
Useful context menus:
- Copy selected guids or asset paths
- Edit selected assets with third-party app that is already installed on the machine