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
- Editor crashes with "GetManagerFromContext: pointer to object of manager 'PlayerSettings' is NULL (table index 0)" error when launching a project with a corrupted library
- Crash on PersistentManager::GetSerializedFileIfObjectAvailable when opening a specific project
- An extra separation line is present between the options in the AssetBundle and it's Variants dropdown Menus
- Xcode VisionOS builds fail with a "Circular dependency..." error when the used project is named "Metal"
- ScrollView.ScrollTo method does not work when trying to scroll to an item that has been added in the same frame
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.