x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AAIController::MoveToLocation fails in beging the game.

Hi!

AAIController::MoveToLocation fails when I recently have started my game. It fails to project the location to the navmesh. I think this is because the navmesh seems to build it self upon the start of the level, however the level is big so this takes some time.

I want my pawns to being able to move directly the game starts but some parts of the level my change later which may affect the navmesh. How can this be solved, is there some event when the navmesh is ready? I though the editor build an initial navmesh to start with.

Also sometimes when the navmesh is ready, the move request randomly fails even though there aren't any obstacles. I'm using a plain landscape.

Product Version: Not Selected
Tags:
more ▼

asked Nov 19 '14 at 05:40 PM in Bug Reports

avatar image

undercover
826 121 109 131

avatar image undercover Nov 19 '14 at 05:41 PM

Version is 4.5.1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Currently there's no way to have runtime-modifiable navmesh serialize from saved data. This is a missing feature and we should be taking care of it in not too long from now.

There's also no event you can register for to get notification regarding navmesh generation finished or being triggered. I'm planning to add this kind of event this weekend. For now can query navigation system about this with UNavigationSystem::IsNavigationBeingBuilt, available also in blueprint.

For debugging movement I'd suggest using LogVisualizer. You summon the UI with vislog console command.

Cheers,

--mieszko

more ▼

answered Nov 19 '14 at 06:29 PM

avatar image

MieszkoZ STAFF
7.2k 223 56 407

avatar image undercover Nov 19 '14 at 07:41 PM

Okay, that sounds good. Thanks!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question