Using Graphics.ConvertTexture to convert a texture from any format to a ARGB32
or RGBA32
texture, produces a gray image always. I haven’t tried other target formats.
If anybody knows a workaround, please let me know.
The provided example calls Graphics.ConvertTexture
on every texture found in the “Assets/Textures” directory and stores the result in the “Assets/Textures_Converted” directory. The results all appear in solid gray, but should appear having the same checkerboard pattern like the source textures.
Reproduce
- Open attached project
- Look at textures in “Assets/Textures”
- Press from main menu “BugReport > Convert Textures”
- Look at textures in “Assets/Textures_Converted”
Actual
Notice all textures are solid gray.
Expected
Converted texture should have a checkerboard pattern.
6082065–660051–Case_1262574.zip (96.3 KB)