BlendFileTrashProcessor
$0+
$0+
https://schema.org/InStock
usd
fables alive games
"Money is proof that you’ve helped others — and thus a sign that you deserve to be helped in return." says kt.
Don’t forget to rate us💗⭐⭐⭐⭐⭐ Your support keeps us motivated to keep improving your products.
Unity Blend File Auto Cleaner (Unity 6000+)
This script automatically removes Blender backup files (.blend1, .blend2, etc.) from your Unity project as soon as they are imported. It keeps your project clean by moving these unnecessary backup files to trash automatically.
Features
- Automatic Cleanup: Immediately moves .blend1, .blend2, and other Blender backup files to trash when added to project
- Startup Check: Cleans existing blend backup files when Unity starts
- Non-Invasive: Preserves original .blend files, only removes numbered backups
- No Manual Intervention: Works automatically in the background
Installation
- Save the script as
BlendFileTrashProcessor.cs
- Place it in your project's
Editor
folder (create if it doesn't exist)
- Example path:
Assets/Editor/BlendFileTrashProcessor.cs
- Unity will automatically compile and activate the script
How it Works
The script uses Unity's AssetPostprocessor
to monitor new file imports. When a Blender backup file (ending with .blend followed by numbers. eg model.blend1) is detected, it's automatically moved to recycle-bin.
What Gets Removed:
- .blend1
- .blend2
- .blend3
- .blend4
- .blend5
- Any .blend file with numbers at the end
What Stays:
- .blend (original Blender files remain untouched)
Requirements
- Unity 6000 or later
- Editor-only script (place in Editor folder)
License
Free to use for any purpose.
Size
2.79 KB
Add to wishlist
Ratings
1
5
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%