Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0p3
Issue ID
826420
Regression
No
RectMask2D stops masking the object when Pivot X is zero and mask's width is also zero
Steps to reproduce the issue:
1. Download and open attached project.
2. Open scene named "RectMaskIssue".
3. Select game object named "MaskA" and notice that Pivot X is set to 0.5.
4. Set width of "MaskA" to zero.
5. Notice that the above text "Masked Text A" is fully masked.
6. Select game object named "MaskB" and notice that Pivot X is set to 0.
7. Set width of "MaskB" to zero.
Actual result:
Below text "Masked Text A" is fully unmasked.
Expected result:
Below text "Masked Text A" should be fully masked.
Reproduced width:
5.2.5f1, 5.3.6p3, 5.4.0f3, 5.5.0a6.
With 5.1.5f1 both texts are fully unmasked.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment