Debug Help! I cannot find issue and don't know how to test. Multithreading.

Ah understood! Thx so much

There are going to be over 1000 actors (that could receive a path) in play at once. Wouldn’t it be bad to have a delegate send a message to all of them when in reality only 1 actor needs the path?

The delegate is only between the actor and the thread that he invokes. It tells the overseeing actor when the work is done.

ooooooh you’re talking about notifying my thread wrapper actor (AsyncPatherfinderActor). not actually distributing the path to the various units that need it. Gotcha

1 Like

Only thing that is limiting is that you can’t hook up a TQueue as a return value in a delegate. You would have to convert it to a TArray before return.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.