# Detour Avoidance Groups not being set

**URL:** <https://forums.unrealengine.com/t/detour-avoidance-groups-not-being-set/362206>\
**Category:** Blueprint\
**Tags:** bug, detour-crowds, unreal-engine, Blueprint, question\
**Created:** [June 27, 2016, 7:59pm UTC](https://forums.unrealengine.com/t/detour-avoidance-groups-not-being-set/362206 "2016-06-27T19:59:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GameMaster79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaster79](https://forums.unrealengine.com/u/GameMaster79)\
**Post date:** [June 27, 2016, 7:59pm UTC](https://forums.unrealengine.com/t/detour-avoidance-groups-not-being-set/362206/1 "2016-06-27T19:59:54Z")

</div>

This may be a bug. When I change the avoidance group for a unit at run time using the set avoidance group node the Struct with the info (AvoidanceGroup) shows the old group as False. The bug is the new specified group is still shown as false. So it seems like the unit is not in any Group. All of the avoidance groups come back as false for the character. Am I missing something?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [June 28, 2016, 2:18pm UTC](https://forums.unrealengine.com/t/detour-avoidance-groups-not-being-set/362206/2 "2016-06-28T14:18:09Z")

</div>

Hi GameMaster79,

- Does this occur in a clean, blank project with no additional content or is it limited to one project?
- What steps can I take to reproduce this on my end?
- Do you have any other blueprints that may be affecting the avoidance groups in question?

---

<div class="post-metadata">

**Author:** ![GameMaster79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaster79](https://forums.unrealengine.com/u/GameMaster79)\
**Post date:** [June 28, 2016, 4:02pm UTC](https://forums.unrealengine.com/t/detour-avoidance-groups-not-being-set/362206/3 "2016-06-28T16:02:30Z")

</div>

Hi ,

Thanks for looking into it. I have not set this all up in a clean project because I don’t know if its actually a bug. Maybe you can tell me. Just use the set avoidance group node to change the avoidance group at run time when using Detour Crowd AI. Then check the struct with the info. Its the AvoidanceGroup struct. Everything is false, all the entries. The group you set the character to should be true. At least, that’s how it seems to me. Is that right?

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 29, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/detour-avoidance-groups-not-being-set/362206/4 "2016-06-29T15:04:12Z")

</div>

Hey GameMaster79,

I have been able to reproduce your issue, and have entered a bug report, UE-32625. Thank you for your report.

Have a great day
