Hello!
We have encountered a bug with the Interchange pipeline. When an interchange texture import is cancelled due to non-power of 2, and then the same texture is imported again without any changes, the texture is imported with legacy pipeline. This fallback seems to occur even though the asset was never fully imported via Interchange and never appears as a .uasset.
First import log:
LogInterchangeEngine: [Pending] Importing
LogInterchangeEngine: Display: Interchange start importing source [C:/…/T_Cat_D.jpg]
LogInterchangeImport: JPEG file [C:/…/T_Cat_D.jpg]: Pipeline setting ‘bPreferCompressedSourceData’ has been overridden by Editor setting ‘RetainJpegFormat’.
LogInterchangeEngine: Display: Interchange import completed [C:/…/T_Cat_D.jpg]
Interchange: Error: [C:/…/T_Cat_D.jpg : ‘’, Texture2D] Cannot import texture with non-power of two dimensions
Interchange: Error: [C:/…/T_Cat_D.jpg : ‘’, Texture2D] Unable to retrieve the payload from the source file.
LogInterchangeEngine: [Pending] Importing - Operation completed.
LogInterchangeEngine: Error: [Failure] Import Failed
Second attempt:
LogEditorFactories: Performing atomic reimport of [C:/…/T_Cat_D.jpg]
LogFactory: FactoryCreateFile: Texture2D with ReimportTextureFactory (0 0 C:/…/T_Cat_D.jpg)
LogEditorFactories: Display: JPEG imported and retained as JPEG in uasset.
LogEditorFactories: Display: Image imported as : TSF BGRA8
LogEditorFactories: -- imported successfully
What is the best way to prevent this behavior?