After spawning some peds at different positions and setting them a task to wander, sometimes task is not set and Unknown event 41 GIVE_PED_SCRIPTED_TASK_EVENT is logged.
Even screenshot looks like collisions overlapping, this issue occurs with 1-2 peds placed distantly too
Reproduction steps
Spawn some peds server-side
Set task wander using emit + NetOwner
Observe some peds are not wandering and message logged
Expected behaviour
Task is applied, no log message
Additional context
One assumption is incorrect state of ped. Maybe, ped is in wrong state to play wander task, but I still have no idea exactly why it's random.
Operating system
Win 10, Win 11
Version
15.0-dev135
Reproduction tested
[X] I confirm that I have made sure that this issue is also present on the newest dev version
Description of the problem
After spawning some peds at different positions and setting them a task to wander, sometimes task is not set and
Unknown event 41 GIVE_PED_SCRIPTED_TASK_EVENT
is logged. Even screenshot looks like collisions overlapping, this issue occurs with 1-2 peds placed distantly tooReproduction steps
Expected behaviour
Task is applied, no log message
Additional context
One assumption is incorrect state of ped. Maybe, ped is in wrong state to play wander task, but I still have no idea exactly why it's random.
Operating system
Win 10, Win 11
Version
15.0-dev135
Reproduction tested