Copyright © 2026 Unity Technologies
Canvas Image (Sliced mode) relies on boundary pixels extended. Extension of Boundary Pixels (Dilation) is only applicable for RGBA textures. In old versions of SpriteAtlas RGBA was always used as an intermediate format when packing from source formats to atlas. While this means pixel processing is unform (like dilation etc..) this also means the transfer can be lossy. This has been recently fixed to ensure lossless packing as much as possible. This also means Dilation is only applied if the format is RGBA. Please ensure that the SpriteAtlas uses RGBA format to fix the issue. Or alternatively set padding > 2, disable Tight Packing.
Reproduction steps:
1. Open the attached “IN-96472.zip” project
2. Open the “SampleScene”
3. Click on the “Image” GameObject from the Hierarchy
4. Observe the Image in the Scene or Game view
Expected result: The Image Sprite is fully white with no transparent borders
Actual result: The Image Sprite has a semi-transparent border
Reproducible with: 6000.0.9f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Not reproducible with: 2022.3.59f1, 6000.0.8f1
Reproducible on: Windows 11, macOS 15.3 (M2 Pro) (user reported)
Not reproducible on: no other environment tested
Notes:
Issues you vote on will appear here