Crash when splitting up output of collapsed node

So I was working on this Blueprint here:

When I now delete the Location connection, right click the Location node of the collapsed PositionAtCursor (which only calculates a HitLocation of the Cursor using GetHitResultUnderCursorByChannel) and try to compile after that, UE4 crashes.

This is easily reproducable:

  1. In a Blueprint, create a “MakeVector” node.
  2. From the Return Value, create a “VectorLength” node.
  3. Right click the “MakeVector” node and click “Collapse Nodes”.
  4. Alt+Click the connection to delete it.
  5. Right click the Return Value of the collapsed node and click “Split Structure Pin”.
  6. Compile.

This should instantly crash the engine.
I don’t know if this has been posted before, but I hope I was able to help with this.

Cheers!

Hello

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

I am, it’s not that it’s a real problem, you can easily avoid this. It kept me from opening a blueprint, as it crashed over and over, and I had to play in a backup.

I just thought it might be helpful to tell you guys!