PIE Specific Widget Bug

Very specific bug: Widget position, as well as the preview resolution in PIE is completely off after using ( only tested in BP )

Now what happens is that once the viewtarget is set to that of the camera, you can see the resolution already going square, but I run a 1920x1080. So the resolution is totally fine until it shows the camera´s view. The order of execution doesn’t matter, the problem always occurs 100% of the time. Please let me know if you can reproduce this problem on your end and fix it. Having to launch the game as stand-alone to is getting very tedious.

Regards,
Roger

Hello Sir Rogers,

I was unable to reproduce this issue on my end. I have a couple of questions to help narrow down the issue you are experiencing.

  1. Can your reproduce this issue in a new project?
  2. If so could you provide a detailed list of steps so that I can reproduce this issue on our end?
  3. Could you provide a screenshot of your issue?

Thanks!

Hello ,

here is a screenshot of the bug. By the looks of it the editor thinks the resolution is the small rectangle inside the real resolution, then uses that for the widget, but places the widget left-aligned, while the real view is center-aligned. The real resolution and display should be the full rectangle.

That´s the case if I do not call SetViewTargetWithBlend( … ).

Now while trying to reproduce the issue in a first instance I have uncovered a new bug, which may be related. I am going to update you in a next post with the original bug. Steps:

  1. Create Blueprint Project: Blank

  2. Drag & Drop Camera into Level ( ACameraActor )

  3. Content Window. Right-Click - User Interface - Widget Blueprint

  4. Open the Blueprint and add a Button that fills the entire screen.

  5. Menu - Blueprints - Open Level Blueprint

  6. OnBeginPlay : Create Widget : Add Widget To ViewPort : SetTargetViewWithBlend

Screenshot of the issue:

Project Files: [click here][3]

While the button should fill the entire screen, it does not do so inside of the editor, as you can see by the remaining space on the right side of the screen. Please let me know if you can reproduce this one on your end.

I have reproduced the original issue. It´s not an exact reproduction as it now only affects the width, instead of the width and the height. I have taken the project and just added the camera and SetTargetViewWithBlend to reproduce the bug. I may have made a step listing mistake in my previous comment, that is without a camera, as you will see from the project files.

Screenshot

Project Files

[click here][2]

I am still unable to reproduce this issue both with the reproduction steps and the test project you have sent

I have a couple of questions about the issue on your end that will help me investigate further.

  1. What resolution monitor are you using?
  2. Does this issue continue to occur if you change the Anchor settings?

Thanks!

Resolution: 1920x1080
What Anchor settings? All settings were untouched on my end.

On the camera in the level you are blending to, do you have the option for constrain aspect ratio checked? If you uncheck this box, does this help resolve the issue you are experiencing?

Hello Sir Rogers,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.