Description

Note:
  Clipping on letterboxed player screen works fine on 4.24.
  This issue was brought in by CL#10541213.

Here's a workaround

TSharedPtr<SGameLayerManager::FPlayerLayer> SGameLayerManager::FindOrCreatePlayerLayer(ULocalPlayer* LocalPlayer)
{
...
		NewLayer->Widget = SNew(SPlayerLayer, LocalPlayer)
			.AddMetaData(StopNavigation),
			.Clipping(EWidgetClipping::ClipToBoundsAlways); // Add this attribute


 

Steps to Reproduce
  1. Open attached project on 4.25 [Link Removed]
  2. Start PIE or Play standalone
  3. Make sure widgets stick out from letterboxed player screen

Result
Clipping on the player screen doesn't work, which make the widget stick out.

[Image Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-100365 in the post.

0
Login to Vote

Fixed
ComponentUE - Editor - UI Systems
Affects Versions4.25
Target Fix4.26
Fix Commit14429113
Release Commit14429113
CreatedSep 28, 2020
ResolvedOct 6, 2020
UpdatedJul 23, 2021