godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.34k stars 21.06k forks source link

GridMap's Navmesh rotation randomly changes for multiple tiles when one is modified. #89654

Open user5145 opened 7 months ago

user5145 commented 7 months ago

Tested versions

4.2.1.stable

System information

mac os 14.3.1

Issue description

I followed the documentation about gridmap with navmeshes and this tutorial https://docs.godotengine.org/en/stable/tutorials/3d/using_gridmaps.html https://youtu.be/KT06pv06Q1U

the navmesh didnt work out of the box, after i rotated them a few times the gridmap started to glich. It seems that if i change the rotation in one of the tiles then it randomly changes other tiles. Additionally, you can see that there are pink glitches in the editor for some reason. They showed up after i rotated the navmesh in one of the tiles.

Steps to reproduce

  1. create a scene with a gridmap and navmeshes build into the tiles

  2. rotate the navmesh, gridmap and/or the root 3Dmesh in the tile library. godot-bug.mkv.zip

Minimal reproduction project (MRP)

godot_data.zip

JekSun97 commented 7 months ago

Your project is too complex to cause a problem, at least for me, try creating a minimal project

user5145 commented 7 months ago

godot_data.zip