Bug? property"update nav agent with owners" crashes

Not sure it’s intended or not. Here’s steps:
Everything set by default
Go to my pawn->char movement component->turn off “update nav agent with owners collision”, it’s ok
Turn it on, crash

[2017.03.31-09.28.06:802][285]LogWindows:Error: === Critical error: ===
[2017.03.31-09.28.06:802][285]LogWindows:Error: Assertion failed: SupportedAgents.Num() > 0 [File:D:\Build++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\Engine\Classes\AI/Navigation/NavigationSystem.h] [Line: 530]

Obviously it expect at least one agent is explicitly added, which isn’t by default. After adding one everything is ok

I don’t see such note/warning anywhere. Shall i add one default agent for good? normally I don’t do this

Hey takistudio,

I’ve tried testing this by creating a character blueprint and toggling the Update Nav Agent with Owners Collision property in the Character Movement Component, but I did not see a crash occur.

Is this occurring in a clean, blank project?

Are you using a Pawn class or a character class?

Could you provide a detailed list of steps I can follow to see this occurring in a clean project?


Hi thank for ur patience.
I tested a new proj. Turns out it happens only after I delete the recastNavmesh-default actor, and the agent. The thing is in I can easily fixed the crash by rebuilding path, while in my own proj I can’t
I will do more digging later, in short not really a big deal. Thanks again