Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


searchTexturesGlobally

Controls whether the importer searches the entire project for textures.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.