Skip to content

Commit 4ff1c17

Browse files
authored
Merge pull request #11311 from smix8/upgrade4.5
Add 4.5 upgrade Navigation notes
2 parents e8e6a57 + 9d281b0 commit 4ff1c17

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tutorials/migrating/upgrading_to_godot_4.5.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,25 @@ Core
231231
the shortest arc between the two input vectors. Previously, it would return incorrect values for certain inputs
232232
(`GH-107618`_).
233233

234+
Navigation
235+
~~~~~~~~~~
236+
237+
.. note::
238+
239+
By default, the regions in a NavigationServer map now update asynchronously using threads to improve performance.
240+
This can cause additional delay in the update due to thread synchronisation.
241+
The asynchronous region update can be toggled with the ``navigation/world/region_use_async_iterations`` project setting.
242+
243+
.. note::
244+
The merging of navmeshes in the NavigationServer has changed processing order. Regions now merge and cache
245+
internal navmeshes first, then the remaining free edges are merged by the navigation map.
246+
If a project had navigation map synchronisation errors before, it might now have shifted
247+
affected edges, making already existing errors in a layout more noticeable in the pathfinding.
248+
The ``navigation/2d_or_3d/merge_rasterizer_cell_scale`` project setting can be set to a lower value
249+
to increase the detail of the rasterization grid (with `0.01` being the smallest cell size possible).
250+
If edge merge errors still persist with the lowest possible rasterization scale value,
251+
the error may be caused by overlap: two navmeshes are stacked on top of each other, causing geometry conflict.
252+
234253
Physics
235254
~~~~~~~
236255

0 commit comments

Comments
 (0)