Can't find session in LAN

So, what is the right way to use the LAN feature.

I have
[OnlineSubsystem]
DefaultPlatformService=Null

in my default engine.ini
and PrivateDependencyModuleNames.Add(“OnlineSubsystemNull”); in my build.cs

Use LAN is checked

I can create a session but can’t find it on another computer, it said the sessionlist’s size is 0.
I can also use “open 192.168.4.104” to join the game.

is there something I missed?

but everything worked fine on one computer(findsession,joinsession)

I tried multiplayerShootOut but changed to onlinesubsystemNull, same issue. computer’s firewall closed.

fixed, just turn off your computer’s VirtualBox NetWork Adapter or something like that.

1 Like

savior!!!

Okay, I hate to be that guy, opening up old posts… But that didn’t just happen. I can’t believe that is the only way to make multiplayer work on a host. Is there any other way to find a LAN game in UE4 without having to disable VBox’s Network Adapters in Windows control panel->Network Adapters?

1 Like

Can confirm this fix for my test project in UE 4.21.1

Yup. Confirmed this is what finally worked for me as well with the MutliplayerShootout tutorial on UE 4.22.

I would imagine that this is the solution only for people using virtual box?

In my case I was using Hyper-V and didn’t have virtual box installed, so I guess installing any kind of virtualizarion software will end up creating virtual adapters. Easy way is to just check under windows’ network settings to see if you have any enabled.

my hero 1111111111111111111111

Thank you sincerely!!! Hamachi was messing it up for me.

In my case OpenVPN was the issue.

Sorry I came late, how do I do that?

@Zedd71 you wanna click disable on any network adapters here that you dont need:

Worked for me as well!

It worked! Thank you :smiley: