I was debugging a bit this morning and I seem to have found the cause of the issue. XCode was catching the EXE_BAD_ACCESS when trying to use a null reference in the NodeCanvas.Framework.Task.Set protected function:
To mitigate this I replaced the try/catch blocks with some code that would not throw the same exception. I would be grateful if you could review the following fix and share your thoughts on it:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Actions and Conditions call this before execution. Returns if the task was sucessfully initialized as well