UMG UWidget Variables can have the same names, causes crash on save

Using 4.11 P6

It’s currently possible to have widgets in the UMG editor that have identical names, and have them as variables. For obvious reasons this shouldn’t be allowed (like it was previously), and if you try to save the asset after having two widgets that had the same name (even if you rename them!) the editor will crash with a very uninformative call stack (didn’t even hit a breakpoint in code).

In previous versions of the engine it would not allow you to name two widgets with the same name, and copy-pasting would rename them automatically to some safe name. As this doesn’t happen anymore, it crashes the editor.

Had a look at the logs, got a very interesting report. Seems like there are multiple instantiated versions of this widget causing issues?

link text

Hello ,

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 clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide a screen shot of any blueprints/ code that may be involved in this issue?

Hello ,

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 offer further assistance.

Thank you.