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.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Okay, thanks.
I’ve submitted more precise info and 100% repro there.

fixed in 4.21.2

In the editor(PIE) and even in standalone it seems to work properly, but in packaged builds it seems the problem definitely persists.