Behavior tree debug crash

Any instruction on how to create bt node in cpp? Should I call Super function or not(not call super::ticknode in service node cause editor crash, but task node in engine code never call super::ticktask).Or should I just forget about cpp and use bp instead?

My main advice would be: look at AIModule code and use it as examples. BT tasks use Tick depending on their specific function, while Services by design are ticking nodes. Having said that it should crash. Would you mind posting a callstack? I’d love to patch it up.

Cheers,

–mieszko

Hi mieszko,
Thank you for your answer!
I lost the crash log, but sometimes when you have unused node in behavior tree, it cause crash when hit play button in editor.
I’ll post the callstack when crash again……

And sometimes when i add an wait task after my frequent execute task, crash disappear.