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"

The navigation mesh build appears to ignore the 'Min Region Area' setting.

Bug: The navigation mesh build appears to ignore the 'Min Region Area' setting.

Steps to repeat:

  1. Create a ThirdPerson Blueprint project.

  2. In the third peson example map: Add a 'NavMeshBoundsVolume' that encompasses the entire level geometry.

  3. Show the navigation mesh and validate that cube on the floor has a small section of NavMesh on its top.

  4. Select the 'RecastNavMesh-Default' object in the level.

  5. Change the 'Min Region Area' to a very high value. (Such as 10,000,000)

  6. Note that the NavMesh rebuilds.

  7. Note that the NavMesh section on the top of the cube still exists.

You can experiment with other more reasonable settings for 'Min Regin Area', but there will be no effect on the NavMesh.

June 16 Edit

The above test case is not valid. I was able to get a dev environment set up, and debugging demonstrated two things: A very high MinRegionArea value results in an integer overflow, causing the value to be interpreted as zero. Also, a reasonable value of, say, 500 or 1000 does work as expected. There is an issue that still exhibits with a landscape I'm using, but that doesn't lend itself to easy steps to repeat.

Product Version: UE 4.12
more ▼

asked Jun 12 '16 at 02:49 AM in Bug Reports

avatar image

16 3 4 9

avatar image HullzAngel Jul 30 '18 at 06:35 PM

So the solution posted by a member of these staff on these forums for when nav mesh generates inside static meshes ("play with min region area" in his words) is absolutely redundant in other words. Good to know. Yet again, the "solutions" from the staff on here are ineffective.

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

1 answer: sort voted first

Hello SteveFSP,

I was able to reproduce this issue on our end. I have written up a report (UE-31960) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

more ▼

answered Jun 13 '16 at 06:05 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image BonzoFSP Jun 16 '16 at 03:55 PM

Hey Rudy. You may want to just close UE-31960 if it isn't already being worked. (See my edit in the original question.)

There is a problem, but since it may only show up in certain landscapes it is difficult to provide good steps to repeat. And now that I have an environment to do a proper investigation, if I find the root cause I should be able to just submit a fix.

avatar image Rudy Q ♦♦ STAFF Jun 16 '16 at 04:50 PM

Thank you for your update. I double checked on this report it appears that this is working as intended. MinRegionArea is used only for isolated areas, meaning an area that's surrounded by navmesh-free areas.

avatar image BonzoFSP Jun 16 '16 at 05:58 PM

Yep. I reviewed the source code and it is working as expected. A little more detail for future readers:

Recast will not remove a region that is less than MinRegionArea when the region is adjacent to a border, including tile borders. (There are technical reasons for this.) If isolated sections of the NavMesh won't go away when increasing MinRegionArea, then select the NavMesh object in the level and enable 'Draw Tile Bounds'. If a section of the mesh is on, or crosses, a tile border, then that is why it isn't getting culled. This is a common situation with landscapes since they often have a combination of smaller tile sizes for quick run-time regeneration and rugged areas that can generate small regions.

NavModifierVolumes can be used to remove the small isolated areas if they are a problem.

avatar image HullzAngel Jul 30 '18 at 06:37 PM

I have a static mesh that I want navigated (a maze). You want me to manually assign NavModifierVolumes to stop the navmesh generating inside of the walls (because Min Region Area changes nothing)?

Navmesh in redundant essentially because I'm just blocking out everything manually using that solution.

(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