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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment