Replacing UMG Widget and recreating same variable name crashes editor

So to repro I have a UMG widget child in the designer marked as a variable named SomeChild

I use this variable in some blueprint

Next I decide to replace the widget with a different type of widget. It deletes the variable, probably because my variable is no longer the same type.

I Mark the child as a variable again and type in the same variable name for it. Editor crashes after I try to compile or click something else.

In the C++ the error message says something about renaming over an existing object.

I have to restart the editor to ensure that after I replace my widget that I can rename it back to its original variable name without the editor crashing.

Hello ,

I was unable to reproduce this issue on our end. I have a few questions that will help narrow down what issue it is that you are experiencing.

Quick questions?

  1. What version of the engine are you using?
  2. Can you reproduce this issue in a clean project?
  3. If so, could you provide a detailed list of steps to reproduce this issue on our end?

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.