Mercuna v3.7 introduces baked navigation modifiers and initial support for Unreal Engine’s Mass framework, alongside improvements to World Partition streaming and runtime navigation updates. The release also includes a range of performance optimisations, stability improvements and bug fixes across Ground, Surface and 3D Navigation.
Highlights include:
- Baked Modifiers – automatically generate navigation modifiers from static meshes during nav grid builds, reducing manual authoring and allowing selected agents to navigate through otherwise impassable geometry
- Initial Mass Support – use Mass entities as MoveTo and Track destinations, and treat them as dynamic or stationary obstacles, making it easier to integrate Mercuna with Unreal’s Mass framework.
- World Partition Improvements – optionally preserve runtime navigation changes when levels stream out, and automatically update streamed-in navigation to account for changes to modifiers and stationary obstacles.
- Improved Runtime Modifiers – create modifiers directly from mesh geometry, optionally expand them by each agent’s radius to ensure agents keep clear of obstacles, and efficiently create, update or remove multiple modifiers in a single operation.
- Exclusion Volume Components – add navigation exclusion volumes directly to actors and Blueprints, providing greater flexibility when authoring navigation.
- Navigation Performance Improvements – faster nav grid merging, more efficient runtime modifier updates, and improvements to navigation query performance.
- Unreal Engine 5.9 Preview Support – initial compatibility with Unreal Engine 5.9 Preview.
This release also includes numerous stability improvements and bug fixes.
Release Notes
- Ground and Surface Navigation
- Add option to expand nav grid modifiers by agent radius
- Improve performance of modifier changes when large numbers of modifier volumes are present
- Improve IsReachable query performance when all points are reachable
- Prevent long running nav grid merges from blocking queries
- Improve performance when merging multiple nav grids simultaneously
- Improve Nav Grid Modifier Component prism editing, including Blueprint editor support
- Improve EQS point generation on the nav polymesh
- Add RemoveFromNavGrids to nav link components
- Nav grid query-filters are no longer able to modify friction
- Improve nav grid merge performance when using level streaming
- Improvements to nav grid generation consistency
- Fix some unchanged nav grid chunks becoming dirty when alternating between Editor and World Partition commandlet builds
- Fix stationary obstacles on generation box boundaries in thin corridors
- Fix rare 2D curve building assert “Points too close together”
- Fix bug where GetNavPolygons could crash when checking nav links
- Fix non-smooth path to extra destination in different nav graph
- Fix nav grid debug drawing to respect the selected debug actor’s usage restrictions and stationary obstacle settings, including ignoring its own obstacles
- Fix agent type settings not updating correctly in the editor, including debug drawing, Blueprint instance propagation, overrides and undo/redo
- Fix rare assert in path straightening when the original path doubles back on itself
- Fix nav grid clamping with height ranges more than one generation box high
- Fix crash when generating random points in a very large box
- Fix rare polymesh generation bug causing “Multiple outlines for region N” warnings
- Prevent IdealTurnRadius being set to zero
- Fix nav links not being correctly linked into the nav grid when loaded after the grid
- Fix wrong nav link being selected when clicking on another link’s end in editor
- Fix nav links within level instances not relinking when loaded at runtime
- Fix edge cases in nav link removal, culling and identifier management
- Guard against invalid polygons when adding nav links during rebuilds
- Handle navigation components configured to use an agent type that has subsequently been deleted
- Fix rare cases of agents performing tight circles around their destination
- Reset 2D ORCA avoidance state when paused, following a nav link, not avoiding while stationary, or receiving no command
- Fix crash if nav grid data saved by SavePartTemp is reinjected after the nav graph has been cleared (custom engine integration only)
- Add logging for 2D ORCA state changes
- Ground Navigation
- Support collecting static meshes marked as dynamic obstacles as baked Ground nav grid modifiers
- Support tank-like movement in the Chaos vehicle adapter through the bUseYawInputForSteering option
- Support Chaos vehicle speed limits based on the tire LateralSlipGraph
- Expose GetTransformTrajectory to Blueprint to fill an FTransformTrajectory from a Mercuna trajectory
- Serialize whether automatically generated nav links are enabled
- Yield for ground queries between auto-link generation on different boxes
- Fix missing navigation on steep walkable slopes when sub-cell rasterization is disabled
- Fix raycasts incorrectly failing near cell boundaries
- Fix rare assert in AdjustTangentDirs due to co-located points
- Fix potential crashes when making queries with an invalid agent type
- Fix incremental smooth paths failing to become fully built when repathed or extended during a pending path conversion
- Fix assert in context steering when agents are on top of each other or extremely close together
- Fix disconnected paths with vehicle MoveToLocations requests containing reverse sections
- Fix swapped initial and reverse speeds in Ground grid path queries
- Prevent high centre-of-mass vehicles braking too heavily on curve completion
- Fix multi-grid pathfinding incorrectly reaching the same position on the wrong nav grid
- Fix vertical start directions in kinematic pathfinds
- Protect against empty discrete speed arrays in discrete speeds movement
- Fix EQS tests failing when the querying entity is a stationary obstacle
- Preserve nav link identifiers when modifiers are added or updated
- Resolve cases of suboptimal paths when using automatically generated nav links
- Fix incorrect heights returned during jump following; custom integrations compensating for the previous scaling may need updating
- Improve handling of nav grid modifiers that only just overlap the nav grid vertically
- Fix construction of river collision meshes with inverted triangles
- Fix debug assert when a water surface exceeds the generation box height
- Fix rare assert in MerPolyMesh::LinkToMesh
- Surface Navigation
- Fix rare assert in BuildCurve due to co-located points
- Fix assert when the requested end direction is perpendicular to the navigable surface at the destination
- Fix assert in Surface reachability and point generation queries
- Fix rare cases of missing Surface nav grid
- 3D Navigation
- Add FindNavigableBoxAroundPos to query available navigable space around a point
- Extend MerCharacterMovementComponentAdapter to support 3D Navigation
- Increase maximum hierarchical path search range
- Fix SaveDeltas in the case a rebuilt generation box is completely navigable
- Fix assert when updating modifier in a generation box that has been streamed out and back in again
- Fix octree modifiers not being picked up correctly by the World Partition builder commandlet
- Improve behaviour when running out of regions due to large numbers of octree modifiers
- Fix assert when rebuilding an extremely large number of overlapping volumes
- Improve build notifications when building multiple nav graphs
- Common
- UE5.9 Preview support
- Allow Mass entities to be used as MoveTo and Track destinations
- Add MercunaMassObstacle fragment to allow Mass entities to be treated as dynamic and stationary obstacles
- Add option to retain rebuilt parts of the nav graph when streaming out
- Check modifier and stationary obstacle positions when nav data is streamed in, and update the nav graph if they do not match the built data
- Add function to create a runtime nav grid modifier from a mesh
- Add functions to add, update and remove multiple runtime nav grid modifiers in one call
- Expose Mercuna Nav Exclusion Volume as a component
- Support Chaos Mover with asynchronous physics (experimental)
- Improve thread safety of the MerEntity system
- Add request-based FindPath and FindSmoothPath APIs for Ground, Surface and 3D nav graph actors
- Allow query parameters to be specified when requesting a path
- Add MercunaSubsystem containing a list of nav graph actors for iteration
- Add methods to query whether nav graph chunks are loaded and enabled
- Add clamp height and radius parameters to nav grid testing actors
- Move nav link properties directly onto the component and fix component visualizer issues
- Respect bUseChecksInShipping and bUseLoggingInShipping Target.cs flags
- Use asynchronous heightfield slice geometry collection on Unreal Engine 5.8
- Improve selection of the nav graphs that Mercuna components apply to
- Improve how nav volume actors are linked to nav graph actors
- Fix compilation on gcc 15
- Fix rare deadlock when rebuilding or merging nav graphs
- Improve main thread geometry collection performance by avoiding a data copy
- Fix MercunaPath returning stale values when queries fail
- Fix potential crashes when navigation graph events are triggered during level loading or shutdown, by ensuring events are delivered safely and in the correct Unreal level context
- Fix AI MoveTo tasks getting stuck when a destination change causes the new move request to fail immediately
- Fix rare cases of modifier changes not updating the nav graph due to incorrect job ordering
- Fix nav seeds in level instances being missed by the World Partition builder commandlet
- Fix incorrect positions in move events when exclusion and modifier volume components are not directly attached to the root component
- Fix potential dangling volume pointers in nav graph callbacks
- Clear the previous callback when a nav graph query interface update callback is replaced
- Fix crash in the Mercuna Mover movement adapter due to an invalid actor during deactivation
- Fix crash when collecting meshes with a very large number of triangles
- Fix 3D assert when calling UMercunaSmoothPath::GetPosition at the total length of a line path
- Fix straight line paths not showing in debug draw in Development builds
- Fix debug actors with query filters repeatedly invalidating the nav grid debug draw cache
- Fix false positive PostLoad warnings in validation builds
- Fix rare C4005 macro redefinition warnings with Unreal unity builds
- Add logging for Mercuna Obstacle Component properties
- Remove entity system warnings when obstacles cannot be found
- Minor improvements to log messages and log formatting

