Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0f2
Issue ID
1144783
Regression
No
Unused Material dependencies are returned when checking the dependencies of imported model
To reproduce:
1. Open attached project "repro_24149.zip"
2. In main toolbar, go to Support > Dependencies window
3. Drag the Cube.fbx file (Project window) to object picker in Dependencies window
Expected: unused materials are not included in the dependency list (Unused.mat)
Actual: unused materials are included in the dependency list
Reproduced in: 2017.4.25f1, 2018.3.12f1, 2019.1.0f2, 2019.2.0a11
Note: EditorUtility.CollectDependencies does not return the unused dependencies, however it does include duplicate paths and sizeable amount of questionable dependencies
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
Use EditorUtility.CollectDependencies if you need exact runtime dependencies.