SetResolutionScale sets inf value in editor

So i’ve tracked the issue and fixed on my [fork][1], however due to time constraints i can’t do a pull request right now let alone go deep into the call stack to see why ScreenHeight is zero (for a proper fix)

So this causes SetResolutionScale to set the scale value to inf, thus breaking my slider,

Cheers

[1]:

Hello ,

Thank you for the information provided. However, I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of the issue that is being caused?

Hi Rudy,

Sorry for the late response, yes i was able to reproduce it on a clean project, this is the blueprint i use:

This is the output i get:

LogBlueprintUserMessages: [bugtest_C_0] 100
LogBlueprintUserMessages: [bugtest_C_0] 9,223,372,036,854,775,808

The last value being a formated infinite value

Thanks!

Hello ,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-39348)

Make it a great day