You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected that a TileMap with two navigation layers simply works. But when running the project the following error is thrown:
ERROR: Navigation map synchronization error. Attempted to update a navigation region with a navigation mesh that uses a different `cell_size` than the `cell_size` set on the navigation map.
at: update_polygons (modules/navigation/nav_region.cpp:118)
Steps to reproduce
Create TileMap root node
Add a second layer to the TileMap
Add TileSet to the TileMap
Add two navigation layers to TileSet
Drag res://icon.svg into the TileSet tiles to create an atlas out of it.
Select top left tile and reset to default shape for both navigation layers.
What are the correct values for which project settings for my provided reproduction project? Could you maybe quickly try it please because I tried setting all settings containing cell_size to 1 and all to 0.25 and both didn't seem to work.
In the project settings for navigation/2d/default_cell_size I can't set decimal numbers but only integers. Is this intended?
Could the error message show the differing values so you know which value you need to set to which value? Because currently it's more blind guessing.
I would expect that this seemingly super basic setup would work by default and not fail with this unclear error message.
Godot version
4.1.dev.custom_build [e709ad4]
System information
Godot v4.1.dev unknown - NixOS 23.11 (Tapir) - Vulkan (Forward+) - integrated AMD Radeon Graphics (RADV RENOIR) - AMD Ryzen 7 4700U with Radeon Graphics (8 Threads)
Issue description
I expected that a TileMap with two navigation layers simply works. But when running the project the following error is thrown:
Steps to reproduce
TileMap
root nodeTileMap
TileSet
to theTileMap
TileSet
res://icon.svg
into theTileSet
tiles to create an atlas out of it.TileMap
Minimal reproduction project
TileMapNavigationBug2.zip
The text was updated successfully, but these errors were encountered: