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"

NavMesh agent size changes at runtime

Branch: Binary

Build version: 4.7.0-2455222

I'm having strange behaviour with NavMesh. When I enable bCanAffectNavigation on Pawn in runtime, the rebuilded NavMesh uses default agent size instead of what is set in RecastNavMesh-Default actor or in Project settings. This is happening in my main game project but I made a small repro project to demonstrate the issue.

Here are my NavMesh settings: RecastNavMesh-Default actor

RecastNavMesh-Default actor

Project Settings

Project Settings

When CanAffectNavigation is disabled the NavMesh is built fine:

alt text

After enabling CanAffectNavigation the newly generated NavMesh is using wrong agent size

alt text

Here's link to a simple repro project: link text

Repro Steps

  1. Open the repro project

  2. Press Play to start the game

  3. Click on the Character

  4. The CanAffectNavigation is enabled and rebuilt NavMesh is using wrong agent size for the tile the Character is in

I'm happy to provide more info if necessary. Thanks for looking into this!

Product Version: Not Selected
navmeshissue.zip (875.3 kB)
more ▼

asked Mar 12 '15 at 06:52 AM in Bug Reports

avatar image

119 8 13 18

avatar image Fervensmiber Mar 12 '15 at 07:52 AM

Updated to 4.7.2, the issue persists

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi Fervensmiber,

Thank you for the report. I was able to reproduce the issue and have submitted JIRA UE-11956. Our developers will be investigating the issue further and we will post here with updates as we get them.



more ▼

answered Mar 16 '15 at 08:14 PM

avatar image

41.1k 1009 183 493

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

For me is just working fine. I'm using 4.7.2. Maybe you just need to update, or something is just wrong with your project. Hope this helps :)

alt text

cattura.jpg (227.2 kB)
more ▼

answered Mar 12 '15 at 07:40 AM

avatar image

85 9 7 17

avatar image Fervensmiber Mar 12 '15 at 08:08 AM

Thanks for trying it out. In 4.7.2 the behaviour is still bugged. In editor the NavMesh is cast correctly but if you hit play and click on the character the navmesh tile with the char in it is recast with wrong agent size.

avatar image TatuTeittinen Mar 12 '15 at 08:10 AM

I can confirm it still exists in 4.7.2 and is quite troublesome. And as Fervensimber it works in the editor until you actually play it and the recast bugged: alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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