[4.6.1] UMG Array operations -> Crash at compile

I’ve encountered a bug in UE4 4.6.1 with UMG. Steps to reproduce the bug:

  1. Create a new Widget Blueprint
  2. Create an array variable (my type was “Button”)
  3. Drag the array variable in and get a Set-Node
  4. Drag the Set-Pin out and create a Make Array node
  5. Add some buttons from the Widget into the Make Array and connect the Setter node with some Event like Event Construct
  6. Compile and crash!

Regards

Hello ,

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

Steps I used to try and reproduce this issue:

  1. Created a new widget blueprint in 4.6
  2. Added two buttons in the designer tab (BtnA and BtnB)
  3. Added a new button variable (ArrayVar)
  4. Made this variable into an array
  5. Pulled a “Set ArrayVar” into the event graph
  6. Dragged off the array pin of the “Set ArrayVar” to create a “Make Array” node
  7. Dragged a “Get BtnA” and a “Get BtnB” node into the graph
  8. Attached BtnA and BtnB to the “Make Array” node
  9. Added an “Event Construct” to the graph
  10. Dragged off the execution pin of the “Event Construct” and attached it to the input of the “Set ArrayVar” node

Quick questions:

  1. Can you reproduce this in a clean project?
  2. Are there any differences in the way that I tried to reproduce this bug?
  3. If there are, could you provide any steps that I may have missed?
  4. Are you receiving any errors before the crash?
  5. Could you provide your dxdiag?
  1. Yep I reproduced it and there this isnt a problem. my second crash in the other project was with an Custom event with an array input but this works now to so this can be closed!