Skip to content

nav_map_builder_2d little error in a warning message #107771

Closed
@Infini-Creation

Description

@Infini-Creation

Tested versions

v4.5.dev5.official [64b0990]

System information

Godot v4.5.dev5 - Windows 10 (build 19045) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - GeForce GTX 780M - Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz (8 threads)

Issue description

I've got a warning today which is:

Godot Engine v4.5.dev5.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started on port 6006 ---
--- GDScript language server started on port 6005 ---
ERROR: modules/navigation_2d/2d/nav_map_builder_2d.cpp:150 - Navigation map synchronization error. Attempted to merge a navigation mesh polygon edge with another already-merged edge. This is usually caused by crossing edges, overlapping polygons, or a mismatch of the NavigationMesh / NavigationPolygon baked 'cell_size' and navigation map 'cell_size'. If you're certain none of above is the case, change 'navigation/3d/merge_rasterizer_cell_scale' to 0.001.

The line 140 (in the head) of the source is:

ERR_PRINT_ONCE("Navigation map synchronization error. Attempted to merge a navigation mesh polygon edge with another already-merged edge. This is usually caused by crossing edges, overlapping polygons, or a mismatch of the NavigationMesh / NavigationPolygon baked 'cell_size' and navigation map 'cell_size'. If you're certain none of above is the case, change 'navigation/3d/merge_rasterizer_cell_scale' to 0.001.");

I guess the author just made a copy & paste a bit too quickly and forgot to replace 3 by 2 in '3d' (in 'navigation/3d/merge_rasterizer_cell_scale') as it doesn't make much sense to modify something 3D related to fix an issue with a 2D "thingy".

Steps to reproduce

I don't know what exactly cause the issue but it not longer occurs in recent projects I used.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions