Inline and Non-Inline Textures

In 2022.2, we added inline and non-inline saving preference 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 has changed from pink to a pink and black checkerboard. For transparent textures with Use Cutout enabled, the dummy texture will be checkered and transparent.

Before 2022.2 2022.2 2022.2 Transparent
Before 2022.2 As of 2022.2 Transparent in 2022.2

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.