Closed
Description
Repeat tasks are not working as expected. This issue only affects repeaters. Current bugs are as follows.
- Does not run
Start()
andExit()
when a task ends, causing tasks likeWait
to automatically fail on 2nd run - Composites do not work with any repeat tasks
This should by fixable by doing the following. Adequate test coverage and testing will be needed to verify this doesn't create any weird bugs in the app.
- Prove the issue with a test that shows a sequence/composite does not repeat on completion
- Write a test to verify nested composites on repeat run as expected repeat
- Prove the issue with a test that shows
Start()
andExit()
fails to run task repeat - Write a test to verify nested tasks inside a composite run as expected on repeat
- TaskParentBase should run a self Reset() when success or failure returns
- TaskBase then needs to run a Reset() on Exit
Testing when the fix is ready:
- Tree visualizer still works as expected
- Tree visualizer doesn't blow out with nested repeats
- Add a nested repeat sample to the sample project that verifies the new repeater logic works as expected