It seems like multiple nav mesh agent types aren’t supported when using the DetourCrowdAIController. Agents with the default type work fine, but agents with any other type don’t move - they find a path correctly, but the following message shows in the visual logger:
LogCrowdFollowing (Error) Invalid navigation data in UCrowdFollowingComponent::SetMoveSegment, expected 0x30AB4F00, got: 0x30AB5600
When I debug the code, it’s expecting the RecastNavMesh object for the default nav agent type, but it’s trying to use the RecastNavMesh object relevant to the agent type. This causes the movement to fail.
- Is there a workaround?
- This doesn’t seem to be documented at all anywhere, it might be nice if it was.