'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.
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
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.7.3, 4.8 |
Target Fix | 4.8 |
Fix Commit | 2521782 |
---|
Created | Mar 25, 2015 |
---|---|
Resolved | Apr 22, 2015 |
Updated | Apr 27, 2018 |