Use Task_ infront of the name of the Task you are creating

When I was doing the chalenge I named my C++ Task : Task_ChooseNextWaypoint, the reason was to know that this file is a Task.
Suprisingly when I had gone to use it in the Patrol BehaviorTree the node was named ChooseNextWaypoint without the Task_.

I believe that students will find this information useful and practical.

I used the name ChooseNextWaypoint_Task, and because of this I couldn’t find the class in the BT.
What happened? The same thing that happened to you, everything in the name including the “_” was cut away, in the BT only a new task named “Task” appeared.

Took me a while to figure this out, from now on I won’t use any “_” in file names with Unreal.

Privacy & Terms