Description

When applying downScale 2.0 to UI textures to reduce resolution, unintended display issues occur on widgets, such as:

・The border of box-shaped Widgets with DrawAs set to “Box” becomes thinner
・Dot points in dotted lines with Tiling set to Horizontal appear as small dots in the image

 Suggested Code:

void FSlateUTextureResource::UpdateTexture(UTexture* InTexture)
{
	//...

		FTexture* TextureResource = TextureObject->GetResource();

		Proxy->Resource = this;
		// If the RHI data has changed, it's possible the underlying size of the texture has changed,
		// if that's true we need to update the actual size recorded on the proxy as well, otherwise 
		// the texture will continue to render using the wrong size.

#if 0
		if (TextureResource)
		{
			Proxy->ActualSize = FIntPoint(TextureResource->GetSizeX(), TextureResource->GetSizeY());
		}
		else
		{
			Proxy->ActualSize = FIntPoint(0, 0);
		}
#else
		if (TextureResource)
		{
			if (TextureObject->IsA<UTexture2D>())
			{
				UTexture2D* AsTexture2D = Cast<UTexture2D>(TextureObject);
				Proxy->ActualSize = FIntPoint(AsTexture2D->GetImportedSize().X, AsTexture2D->GetImportedSize().Y);
			}
			else
			{
				Proxy->ActualSize = FIntPoint(TextureResource->GetSizeX(), TextureResource->GetSizeY());
			}
		}
		else
		{
			Proxy->ActualSize = FIntPoint(0, 0);
		}
#endif
Steps to Reproduce

1. Open the attached project.

2. Play in editor.

Then, textures to display unexpectedly on widgets.

Have Comments or More Details?

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

0
Login to Vote

Backlogged
ComponentUE - Editor - UI Systems - Slate
Affects Versions5.6
CreatedSep 22, 2025
UpdatedSep 29, 2025
View Jira Issue