Sometimes navmesh is not updated
Sometimes my dynamic navmesh was not updated. When I managed to reproduce this behavior in debug, I noticed that dirty tile coordinates in FRecastNavMeshGenerator::MarkDirtyTiles (RecastNavMeshGenerator.cpp:3990) were not calculated properly due to RcNavMeshOrigin containing some random garbage. I guess it happened because RcNavMeshOrigin is initialized only in FRecastNavMeshGenerator::RebuildAll which is not always called. So I enabled Force Rebuild navmesh on Load and this issue seems to be gone, but still it would be nice to have it fixed properly.
Update: Though it seems force rebuild did not help, RcNavMeshOrigin is still sometimes not initialized.
fixed in 4.21.2
answered Feb 05 '19 at 05:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here