Description

'Directions are not Compatible' error on ForEachLoopWithBreak if split struct pin is disconnected from Enum type.

Note: If the pins are reconstructed and the resplit, the error is fixed.

Steps to Reproduce

1. Open QA-game
2. Create a Enum named 'EnumTest'
3. Inside, add 4-5 new Enumerators
4. Save & close
5. Create a Struct named 'bpStructTest'
6. Inside, add 2 variables, one a 'EnumTest' type
7. Save & close
8. Create an Actor class bp named 'bpLoopTest' & open it
9. Create a variable > type 'bpStructTest' > make it an array
10. Add a 'Get' of this variable
11. Drag off > add a 'ForEachLoopWithBreak' node
12. Right click the Enum variable pin and Split the pin
13. Compile & save (note that no error is present - screenshot #01)
14. Add a Print String node
15. Connect the Enum variable pin to the Print String (screenshot #02)
16. Compile & save
17. Disconnect the Enum variable pin > Compile & save

Results: The 'ForEachLoopWithBreak' will now throw a "COMPILER ERROR: failed building connection with 'Directions are not compatible' at" error message (screenshot #03)

Expected: For the 'ForEachLoopWithBreak' to compile the same before and after the Enum variable node is disconnected

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.7.34.8
Target Fix4.8
Fix Commit2521782
CreatedMar 25, 2015
ResolvedApr 22, 2015
UpdatedApr 27, 2018