Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.37f1
2021.3.7f1
2022.2.0b3
2023.1.0a4
2023.2.0a1
Issue ID
UUM-10428
Regression
Yes
RectMask2D has a small amount of padding on the edges
How to reproduce:
1. Open the attached project (“case_1329008-RectMask2DBug2020.zip“)
2. Open Scene “SampleScene”
3. Observe the Game view
Expected result: Two gray squares can be seen
Actual result: Two gray squares and a red outline behind one of them can be seen
Reproducible with: 2020.1.0a15, 2020.3.37f1, 2021.3.7f1, 2022.1.12f1, 2022.2.0b3, 2023.1.0a4
Not reproducible with: 2020.1.0a14
Reproducible on:
macOS 12.4 (Intel)
Workaround: Use negative padding on the RectMask2D component
Note:
- In 0a14 the ability to change Padding in Inspector is not available
- Additionally, changing the Game view height may cause red padding to appear on the top edge
-
ampva302
Aug 02, 2022 03:46
Thanks for information, I just learned today from here, and from this site https://gamedev.stackexchange.com/questions/183571/is-there-no-ui-culling-for-unity
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
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Resolution Note:
We are shifting priority to fixes and features for UI Toolkit and can only address major issues with IMGUI and uGUI. Please continue to use your existing workarounds for this issue.