4.6 crashing and lost dpi curve

Hi, Devs!

I’m here to report two problems which our team discovered after migration to 4.6.

  • We have comments blocks in blueprints on Russian language. After migration from 4.5.1 to 4.6 we trying to open BP methods with that comments and UE4-Editor crashing. This issue reproducing clearly in blank project.

  • In our project we are using DPIcurve. It’s a copy of default project DPI curve in User Interface settings. We need it to work with our own cursor layer (still waiting for your software realization of custom cursors, guys!). After migration, our curve seems like a straight line without any key values. We looked into DefaultEngine.ini and look what we have found inside it right after migration (without any changes):


    [/Script/Engine.RendererSettings]

    UIScaleRule=ShortestSide
    UIScaleCurve=(EditorCurveData=(Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000))),ExternalCurve=CurveFloat’/Game/interfaces/dpiCurve.dpiCurve’)

    [/Script/Engine.UserInterfaceSettings]
    UIScaleCurve=(EditorCurveData=(Keys=((Time=480,Value=0.444),(Time=720,Value=0.666),(Time=1080,Value=1.0),(Time=8640,Value=8.0))),ExternalCurve=None)
    UIScaleCurve=(EditorCurveData=(Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000))),ExternalCurve=None)

We have removed first 2 rules from RendererSettings (obvious it should be placed in /Script/Engine.UserInterfaceSettings) and after restarting our project we have found DefaultEngine.ini like this:

...
[/Script/Engine.RendererSettings]
...
UIScaleRule=ShortestSide
UIScaleCurve=(EditorCurveData=(Keys=),ExternalCurve=None)

[/Script/Engine.UserInterfaceSettings]
UIScaleCurve=(EditorCurveData=(Keys=((Time=480,Value=0.444),(Time=720,Value=0.666),(Time=1080,Value=1.0),(Time=8640,Value=8.0))),ExternalCurve=None)
UIScaleCurve=(EditorCurveData=(Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000))),ExternalCurve=CurveFloat'/Game/interfaces/dpiCurve.dpiCurve')

It works as we expecting now (our dpiCurve wasn’t droped), but I’m aware of duplicated options in DefaultEngine.ini. Probably we’ll got some troubles in future about it?

UPD:

Problem with crashing have appeared again. If I’m working with userwidget blueprint for long time every compilation will crash UE4-Editor. The only way - remove Saved directory.

This crashing is very annoying. I can’t just work. Loosing a lot of time.

My version 4.6.0-2369412

Binary version.

Dxdiag in attachments
link text

Which information should I provide?

I’m sorry, but I will send every crash report until you will start work with that issue.

Hello ,

Thank you for the information that you have provided. However, I do have a question for you pertaining to your issue.

Quick question:

I see that you can reproduce this in a clean project. Can you provide us with a detailed list of instructions to reproduce this on our end?

There are no clearly steps for reproducnig this bug. I’m just working with UserWidget for a random period and after blueprint compilation (or project playing) it crashes iwth same code. I will give it a try in 4.6.1 and will report you about reproducing.

Keeps crashing.

Hello ,

Since you are having trouble coming up with a test case that I can use to reproduce this issue, would it be possible to get a copy of a project that you are using that is causing the problem?

Hell ,

http://talennsy.org/tmp/debug.zip

Just reproduced in clearly steps in that project.

  • Open UserWidget Content/Game/my/interface
  • Remove HorizontalBox in Root
  • Add Image to Root
  • Add Tooltip to Root
  • Try to compile that UserWidget
  • Crash

Are there some news?

Hello ,

I was able to get your project to react the way you said it would. I have written up a report ( UE-7560) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and your information. As a side note, I did find that if the save folder is deleted the project will not crash.

Make it a great day

Hello ,

What about dublication in configuration files?

Hello ,

After looking into the duplication of the configuration inside the Engine.ini, it does not appear that it will cause any issues.

But is that ok? Will it be fixed? I’m totaly convinced that such sort of “mistakes” will hit your from the back in future. So, I don’t want to think about it when I’m diging some current problems in the future.

Hello ,

It was reported and sent to the developers for further consideration Along with the other issue. The specific report number is UE-7681. Just as with the other issue I will provide updates with pertinent information as it becomes available.