Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.5.1p1
Issue ID
878180
Regression
Yes
Function TextureImporter.DoesSourceTextureHaveAlpha() is True even if Texture has no Alpha channel
Reproduction steps:
1. Open the attached project " Test_DoesSourceTextureHaveAlpha.zip";
2. In the Assets, go to the Graphics folder;
3. Find tex_Eawase_00.png and reimport it;
4. Then find text_tap_00.png and reimport it;
5. Observe the results in the console window;
Note: tex_Eawase_00.png has no Alpha channel, only text_tap_00.png has.
Expected results: this function has to show does textures source image have an alpha channel.
Actual results: the function provides answer TRUE even if the texture does not have an alpha channel.
Reproduce on: 5.5.1p1, 5.6.0b7.
Not reproduced on: 5.4.2p3.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment