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
Comments (1)
-
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
- GameObject with the Visual Effect Component is not rendered in the Scene view when it is reenabled in the Inspector and the Play mode is paused
- Prefab icon blends in when selected in Project window with the Light Editor theme enabled
- Textures from other Sprites in the Assets leak into Sprite Renderer Sprites when Sprite Atlas v2 is used
- Errors “UI Error: Invalid GUILayout state in TestRunnerWindow view“ and “ArgumentException: An item with the same key has already been added“ are present when running tests with names that duplicate after truncation in the Test Runner window
- Flickering white border around Game View when Gizmos are enabled
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.