Search Issue Tracker
By Design
Votes
5
Found in
5.0.0b1
Issue ID
629645
Regression
No
EditorGUI.DrawPreviewTexture doesn't render texture alpha
To Reproduce:
1. Open the attached project, selestc texture '1' in assets, set it's 'Alpha Is Transparency' to true.
2. Open 'Window/RGB_Window' and select the texture with the object picker.
3. Notice that the EditorGUI.DrawPreviewTexture draws fills the texture alpha channel in black.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
JaisonRobson
Jul 03, 2016 16:38
I did simulated this issue while trying to use
EditorGUI.DrawPreviewTexture(displayRect, textureToShow, materialToUse);
The texture background got entirely black in my inspector view inside the scrollview in the custom inspec that i created.