DragonFist
New member
1. Character Controller Type (Ultimate Character Controller, First Person Controller, etc).
Third Person Controller (though I suspect it applies to any of them.) and Behavior Designer
2. Unity Version (beta Unity versions aren't supported)
Unity 2018.2.16f1
3. Bug Description
Can Hear Object Task from Behavior Designer is not working well with the footstep system. I discovered this in my own scenes, but it can be reproduced in the Behavior Designer integration demo scenes .I've opened the thirdpersonmelee scene and it does not seem to work there either. I can walk behind agent nolan all night and they never hear me.
4. Steps to Reproduce
The layer mask doesn't seem right to me (as the characters are on the character and subcharacter layers not the enemy layer), but I've tried changing it to character and subcharacter to no avail. I tried changing the footstep type to set interval and it started getting heard by the task. Not sure why that would be different. However, the default bodystep type and other types don't every trigger the Can Hear Object task. The body step, doesn't seem to trigger it even though I can hear the steps in the audio.
Anyhow, the ThirdPersonMelee demo scene has the same behavior for me out of the box (other than building the nav mesh). Just bake the nav mesh and walk behind agent nolan and without being seen and have watch the behavior tree. Agent Nolan never reacts in game and Can Hear fails in the tree. Changing the player's footstep type to interval and fixing the layers on the Can Hear task to include the character and subcharacter layers can get it working but changing the layers only doesn't help with the body step footstep type.
5. The full error message (if any)
No error messages
Third Person Controller (though I suspect it applies to any of them.) and Behavior Designer
2. Unity Version (beta Unity versions aren't supported)
Unity 2018.2.16f1
3. Bug Description
Can Hear Object Task from Behavior Designer is not working well with the footstep system. I discovered this in my own scenes, but it can be reproduced in the Behavior Designer integration demo scenes .I've opened the thirdpersonmelee scene and it does not seem to work there either. I can walk behind agent nolan all night and they never hear me.
4. Steps to Reproduce
The layer mask doesn't seem right to me (as the characters are on the character and subcharacter layers not the enemy layer), but I've tried changing it to character and subcharacter to no avail. I tried changing the footstep type to set interval and it started getting heard by the task. Not sure why that would be different. However, the default bodystep type and other types don't every trigger the Can Hear Object task. The body step, doesn't seem to trigger it even though I can hear the steps in the audio.
Anyhow, the ThirdPersonMelee demo scene has the same behavior for me out of the box (other than building the nav mesh). Just bake the nav mesh and walk behind agent nolan and without being seen and have watch the behavior tree. Agent Nolan never reacts in game and Can Hear fails in the tree. Changing the player's footstep type to interval and fixing the layers on the Can Hear task to include the character and subcharacter layers can get it working but changing the layers only doesn't help with the body step footstep type.
5. The full error message (if any)
No error messages