Serious problem with AI, start and stop

Hey,

i have a strange problem…
First of: nothing changed, it works fine in 4.6.1, after bring it to 4.7 (4.71, 4.7.2 now!) it start to make problems.
The problem: I use Adam from the Mixamopack as AI. When a trigger box overlap with my Projectile the AI Starts to run “Move to Actor”. That works fine, but when the Projectile hit the landscape in the NEAR of Adam (AI) he stop, but “Stop Movement” never execute. So why he stop? I try to get it for 3 days now, but nothing, i search for “stop movement” in all my blueprints, there are just two positions where i use this, for example when i hit adam and kill him. i make breakpoint here and it not execute. So it must be a bug i think. Again, it works fine in 4.6.

Do you need more infos? Can anyone help me?

Oh i have to tell you that the Projectile use “Fire Impule” and “Apply Radial Damage with Falloff”. This can maybe explain that Adam just stop when the projectile hit the ground in the near, but i remove these functions for testing and just leave the “Spawning Emitter” and he still stop.

Sam

That is your projectile? Does it have static mesh component? What’s its collision? Can you repro this situation with navmesh debug drawing enabled and see if navmesh is being rebuild with your projectile’s movement or destruction?

–mieszko

Hi MieszkoZ,
thanks for the fast response…

  • Yes, my pojectile have a static mesh.
  • Collision Presets are “BlockkAllDynamic”.

Ok, sounds good, i will have a look to how i enable drawing navmesh ingame and give you feedback.

Yes, when i drop the projectile in the world (not inageme) it redraw a little section of navmesh in the area of the projectile!

I’m guessing your AI’s pathing gets broken with navmesh rebuilding (we do support it, but it’s not a good idea to have AI running through navmesh that’s being constantly rebuilt). Try disabling navmesh relevancy on your projectile - find and set CanEverAffectNavigation to false (it’s component’s property, but will should be visible in Actor’s properties).

Cheers,

–mieszko

wow, yes it work fine now!!! Thank you very much, you made my day!