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
Result
Clipping on the player screen doesn't work, which make the widget stick out.
[Image Removed]
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How would I go about lerping the rotation instead of it snapping when turning (pls dont sue me epic)
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-100365 in the post.
0 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.25 |
Target Fix | 4.26 |
Created | Sep 28, 2020 |
---|---|
Resolved | Oct 6, 2020 |
Updated | Jul 23, 2021 |