Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

ModelImporter.searchTexturesGlobally

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool searchTexturesGlobally;

Description

Controls whether the importer searches the entire project for textures.

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: materialImportMode, materialSearch.