NodeCanvas Forums › Support › [BUG] Optional decorator only runs once under repeat node
Tagged: bug repeater optional
When using an optional decorator directly underneath a repeat node, the optional decorator and anything underneath it will only run once, regardless of repeater settings.
Issue seems to be resolved by adding a decoratedConnection.status == Status.Optional clause to the repeater’s connection reset logic.
decoratedConnection.status == Status.Optional
Thanks for the report and you are right. A better fix would be to simply change the clause to this 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Username or Email