Assertion failed in TextureCompressorModule.cpp during cook in Unreal Engine
The editor crashed while compressing a texture for the target platform. One texture has source data the compressor cannot handle, and the whole cook stops.
Paste your log: find the cause in seconds Runs in your browser, nothing is uploaded.
Common causes
- Corrupted or unusual source image (size, format, mip settings).
- A compression setting that does not suit the texture (for example a normal map setting on a non-square texture).
How to fix it
- Look at the lines just before the assertion for the last texture being processed (detected: none): it is the most likely culprit.
- Open that texture, check its size and compression settings, then reimport it from the source file.
- If you cannot identify it, cook with -verbose or bisect by moving folders out of the cook.
- Cook again.
Questions
Can it be caught before cooking?
Not reliably. Partial: textures with non power-of-two sizes or unusual formats can be listed.