I don’t know the exact point in time when this happened, but all of my Enemy guards stopped moving. The one that was suppose to patrol around points, the one that should go towards the sound, all of them. I was hoping that behavior trees would solve the problem but it didn’t. I tried to remove the navmesh and add a new one but that didn’t help either.
Can someone please tell me what can be the problem? I have print string in the AIC_EnemyGuard, and in the check for noticing sound, so I know it’s called. But they just don’t move.
Ok, try lowering the radius for GetRandomReachablePointInRadius, it’s possible that it’s picking a point in your navmesh that actually isn’t navigable.
When things look like they should be working when they aren’t then sometimes you have to take things one step at a time to find the solution.
That said, it is possible that the character movement component could have been disabled. Check the details panel of the Character Movement Component in your guards to see if their walk speed is 0, auto activate is toggled off, or if the default movement mode is something other than walking.
Yeah, I get that, I’m web developer for about 10 years. But I’m frustrated with myself that I can’t figure it out and I’m completely lost in the UE5 API.
Nothing of the suggested things helped. Should I go for the direct look or is there something else I should look at please?
One last thing you could try before the direct look, which is to delete both the NavMeshBoundsVolume and the RecastNavMesh actors in your level and re-add the NavMeshBoundsVolume (the RecastNavMesh will be created automatically).