Inline and Non-Inline Textures

Inline and non-inline saving preferences are for material assets, and changed the visual warning for missing non-inline textures.

Missing Non-Inline Textures

The dummy texture for missing non-inline textures is pink and black checkerboard.

2022.2
Dummy texture for missing non-inline textures

For transparent textures with Use Cutout Transparency enabled, the dummy texture will be checkered and transparent.

2022.2 Transparent
Transparent textures with Use Cutout Transparency enabled

Fixing Missing Non-Inlined Textures

If you see a pink and black checkerboard texture in a scene, this indicates there is one or more missing non-inlined textures. Check the Terminal log for a yellow warning messages, similar to this:

Warning: Texture D:/Documents/Project1/Lightmap_GeoWall.exr not found! Replacing with pink dummy texture.

In this case, use the file name to help determine the kind of texture and geometry associated with the issue. From the example file name above, we can determine a lightmap file could not be found (Lightmap_...exr), and it is likely on geometry called GeoWall. Beyond this, there is currently no additional information as to where the image is used in the scene.

If you knows where the missing file is located on disk, load the file, using the Bake Light and Shadows module > Advanced tab > Lightmap section > Texture controls. If many of the lightmap files are now in a different folder, try repathing these lightmaps all at once (if the new ones are all in the same folder), by selecting the geometries with the missing lightmaps, then in the Bake Light and Shadows module, select File menu > Repath Lightmaps.

Non-Inlined Textures for Lightmaps

For saving textures non-inlined for specific lightmaps, bake the lightmaps with Save Texture as External Reference activated. Those lightmaps will be saved non-inlined in the vpb, even if the Preference option, Use Inline Textures, is enabled.

Texture Saving Preferences for Material Assets

We added two options to the Asset Manager preferences for setting how material textures are saved in a material asset.