Duplicate Finder (Pro)
Duplicate Finder is an editor tool that identifies identical meshes in your scene using hash comparison, enabling performance optimization through asset consolidation.
Overview
The Duplicate Finder analyzes meshes in your scene and identifies geometrically identical objects, even if they have different names or are positioned differently. This helps optimize scene performance by consolidating duplicate assets.
Key Features
Mesh Hash Comparison – Uses sophisticated hashing to identify identical geometries
Visual Scene Highlighting – Shows duplicate objects with wireframe gizmos and labels
Performance Optimization – Reduces memory and rendering overhead
Batch Operations – Select and manage multiple duplicates at once
Scene Hash Caching – Speeds up repeated analysis with cached hash data
Accessing Duplicate Finder
Open the tool from Unity's menu:
realvirtual/Duplicate Finder (Pro)

How It Works
Select an Object – Select any GameObject in your scene hierarchy
Automatic Analysis – Duplicate Finder calculates mesh hash and finds matches
Visual Feedback – Identical objects are highlighted in the scene view
Take Action – Review and consolidate duplicates to optimize performance
Window Interface

The Duplicate Finder window is organized into several sections:
Visualization Options
Show Wireframe Gizmos (checkbox) – Display yellow wireframe outlines around duplicate objects in scene view
Show Number Labels (checkbox) – Show numeric labels [0], [1], [2], etc. above each duplicate instance
Refresh (button) – Recalculates mesh hashes and updates duplicate detection
Action Buttons
Select All (X Clones + Original) (green button) – Selects all duplicate objects plus the original in the scene hierarchy. The button displays the total count dynamically.
Materials to Clones (button with brush icon) – Copies all materials from the selected object to all detected clones
Components to Clones (button with gear icon) – Copies all components from the selected object to all detected clones
Clone List
Selected Object – Shows the currently selected object name at the top (highlighted with blue cube icon)
Numbered Clones – Lists all detected duplicates with sequential numbers [0], [1], [2], [3], etc.
Object Names – Displays the GameObject name for each clone with blue cube icon
Navigation Icons – Click the circle icon on the right to select and navigate to that object in the hierarchy
Status Display
At the bottom of the window, a yellow warning triangle displays: "Found X duplicate(s) of the selected object"
Common Applications
CAD Import Optimization – Identify repeated components in imported CAD assemblies
Scene Performance – Reduce memory usage by consolidating identical meshes
Asset Management – Find opportunities to reuse existing prefabs
Quality Assurance – Verify component standardization across factory layouts
Performance Impact
Benefits of Consolidation:
Reduced memory footprint from shared meshes
Improved rendering performance with fewer unique geometries
Better asset management with prefab reuse
Smaller build sizes
See Also
Material Window - Material management with duplicate detection
Model Checker - Scene validation tool
Last updated