# Why does UMG widget shearing cause problems?

**URL:** <https://forums.unrealengine.com/t/why-does-umg-widget-shearing-cause-problems/419153>\
**Category:** UI\
**Tags:** progress-bar, unreal-engine, crash, bug-report, question, UMG\
**Created:** [March 6, 2018, 11:14pm UTC](https://forums.unrealengine.com/t/why-does-umg-widget-shearing-cause-problems/419153 "2018-03-06T23:14:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caitlin\_Lange](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Caitlin\_Lange](https://forums.unrealengine.com/u/Caitlin_Lange)\
**Post date:** [March 6, 2018, 11:14pm UTC](https://forums.unrealengine.com/t/why-does-umg-widget-shearing-cause-problems/419153/1 "2018-03-06T23:14:42Z")

</div>

![232947-shear.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/2/df21283d85e135130f04743fdbecf745c43f6559.jpeg)

It looks like there are a few issues with **Shearing** on widget elements such as TextBlocks and ProgressBars where the shear causes an ensure failure in unreal when trying to determine the CurrentDepthTexture.

From my understanding any widget with clipping that is sheared will fail due to its depth buffer not being set.

Is there a way to fix this?

---

<div class="post-metadata">

**Author:** ![Ricard0Brites1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ricard0Brites1](https://forums.unrealengine.com/u/Ricard0Brites1)\
**Post date:** [February 27, 2024, 3:37pm UTC](https://forums.unrealengine.com/t/why-does-umg-widget-shearing-cause-problems/419153/2 "2024-02-27T15:37:26Z")

</div>

Set the clipping options as “Clip to Bounds - Always (Advanced)” on the text element. This should work for any other elements that disappear once you shear their container.
