# searchTexturesGlobally

> Controls whether the importer searches the entire project for textures.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool searchTexturesGlobally { get; set; }
```

### Remarks

Legacy behavior. When enabled, the importer performs a project-wide search for textures if they are not found near the model file. This can produce non-deterministic results when multiple textures share the same name.

When disabled (the default for newly imported assets), the importer only looks for textures in subfolders called `Textures` within the same folder as the model or in parent folders.

Existing assets imported with previous versions of Unity retain this as enabled for backward compatibility.

Additional Resources: [ModelImporter.materialImportMode](/engine/6000.5/script-reference/unityeditor/modelimporter/materialimportmode.md), [ModelImporter.materialSearch](/engine/6000.5/script-reference/unityeditor/modelimporter/materialsearch.md).
