[4.7.6] UMG Widget Replace Crash

I came across this bug by chance, but I can successfully reproduce it anywhere, including blank projects.

Steps:

  1. Create a blank widget
  2. Add a Border Widget (from Common) to the [Canvas Panel]
  3. Rename the border to “Background”
  4. Right click Background in Hierarchy and choose “Replace with Canvas Panel”
  5. Add an Image Widget (from Common) to the original [Canvas Panel]
  6. Rename the image to “Background” (notice there is no error saying that Background is already taken)
  7. Crash

Have not tried this in 4.8 Preview builds.

Hello .,

First off I would like to thank you for a well written report. I was able to reproduce this issue on our end. I have written up a report ( UE-16568) 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 information.

Make it a great day

Hi

I’ve picked up UE-16568 and repro’d the problem. Looking for a fix now.

Chris