How can I use navmeshes with clients?

Hi all,
My problem is that I don’t know how to allow the clients to use a navmesh to move their pawn. At the moment the navmesh only work in the server.

Currently it’s not possible, but has been requested by internal projects so we’re going to add it in not too distant future.

If you wanted to give it a try yourself, you’d need to modify UNavigationSystem::CreateNavigationSystem C++ function. It’s pretty straightforward once you look at that function’s code.

Cheers,

–mieszko

Find

UNavigationSystem* UNavigationSystem::CreateNavigationSystem(UWorld* WorldOwner)
{
	UNavigationSystem* NavSys = NULL;

#if WITH_SERVER_CODE || WITH_EDITOR

And replace with

UNavigationSystem* UNavigationSystem::CreateNavigationSystem(UWorld* WorldOwner)
{
	UNavigationSystem* NavSys = NULL;

#if WITH_SERVER_CODE || WITH_EDITOR || WITH_ENGINE
...

I haven’t tested this, there might be more to it than this but if MileszkoZ is right then this is a start (as of 4.7).

Or you can grab 4.8 preview build and change NavigationSystem.bAllowClientSideNavigation via Project Settings :wink:

Any update on this?