x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Cannot find any sessions [Online or LAN]

Hi,

I have been following this tutorial series for ue4 blueprint https://www.youtube.com/watch?v=ngBI40tjirE&list=PLZlv_N0_O1gYqSlbGQVKsRg6fpxWndZqZ∈dex=11

I have followed the tutorial several times however I still cannot find any sessions via LAN or Internet. I am pretty lost as to how to fix this.

Below are screenshots of the matchmaking

http://i.imgur.com/s7s1eeh.png http://i.imgur.com/VmLkOwJ.png

Here is the ini file I copied as instructed on the tutorial.

 [URL]
 GameName=TwoPTest
 
 [/Script/EngineSettings.GameMapsSettings]
 EditorStartupMap=/Game/Maps/MainMenu.MainMenu
 GameDefaultMap=/Game/Maps/MainMenu.MainMenu
 TransitionMap=/Game/Maps/LoadingMap.LoadingMap
 bUseSplitscreen=True
 TwoPlayerSplitscreenLayout=Horizontal
 ThreePlayerSplitscreenLayout=FavorTop
 GlobalDefaultGameMode=/Game/ThirdPersonBP/Blueprints/ThirdPersonGameMode.ThirdPersonGameMode_C
 GlobalDefaultServerGameMode=None
 ServerDefaultMap=/Game/Maps/MainMenu.MainMenu
 GameInstanceClass=/Game/Blueprints/Levels/GameInstanceInfo.GameInstanceInfo_C
 
 [/Script/Engine.Engine]
 +ActiveGameNameRedirects=(OldGameName="TP_ThirdPersonBP",NewGameName="/Script/TwoPTest")
 +ActiveGameNameRedirects=(OldGameName="/Script/TP_ThirdPersonBP",NewGameName="/Script/TwoPTest")
 
 [/Script/HardwareTargeting.HardwareTargetingSettings]
 TargetedHardwareClass=Desktop
 AppliedTargetedHardwareClass=Desktop
 DefaultGraphicsPerformance=Maximum
 AppliedDefaultGraphicsPerformance=Maximum
 
 [/Script/Engine.GameEngine]
 +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
 
 [OnlineSubsystem]
 DefaultPlatformService=Steam
 
 [OnlineSubsystemSteam]
 bEnabled=true
 SteamDevAppId=480
 
 [/Script/OnlineSubsystemSteam.SteamNetDriver]
 NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
 

If anyone has any ideas how to fix this it would be extremely appreciated.

Kind Regards

Product Version: UE 4.12
Tags:
more ▼

asked Oct 21 '16 at 10:57 AM in Blueprint Scripting

avatar image

LittleBigProgramming
1 3 4 5

avatar image ImVawx ♦♦ STAFF Oct 21 '16 at 01:57 PM

Hey LittleBigProgramming,

Have you setup your project to work with an online subsystem? Either Steam or OnlineSubsystemNull?

Also, is there another client running that is hosting a game so when you search for a session, it can be found?

Thanks.

avatar image LittleBigProgramming Oct 22 '16 at 10:31 AM

Hey Kyle,

I copied the ini file from the tutorial for the DefaultEngine. I have tried using both
[OnlineSubsystem] DefaultPlatformService=Steam and DefaultPlatformService=Null (I thought this was what was needed for LAN).

I am running the same project from my laptop and hosting a game and joining on my computer and vice versa. They are the exact same version of the project which was how it was shown in the video.

Many Thanks

avatar image Holybreath Oct 22 '16 at 04:06 PM

Steam subsystem requires additional changes to .ini file. read here

avatar image LittleBigProgramming Oct 22 '16 at 05:38 PM

Sorry I didn't specify I added them changes as part of the tutorial. I have edited my question to contain the .ini file contents.

avatar image Holybreath Oct 24 '16 at 08:00 AM

Do you have DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam"); in you Build.cs file?

avatar image LittleBigProgramming Oct 24 '16 at 10:34 AM

Yeah it's there already it seems. Must have added it automatically.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi!

From 4.13 there is a new place where is should be set to Steam, in the Engine click Edit/Plugins/Online Platform/Online Subsystem Steam. Check this in, and restart the engine, maybe this will fix it. The tutorial was made pre 4.13, that's why this step is not included in there.

more ▼

answered Oct 22 '16 at 11:54 AM

avatar image

CrimsonHawk
531 25 24 43

avatar image LittleBigProgramming Oct 22 '16 at 12:17 PM

Is this the case with 4.12.5? That is the version of the engine which I am using.

avatar image CrimsonHawk Oct 22 '16 at 03:17 PM

I am not sure. Try to check if this option is already implemented, if it is there, check it in, and try it this way!

avatar image CrimsonHawk Oct 24 '16 at 11:35 AM

Did you check the Steam plugin?

avatar image LittleBigProgramming Oct 24 '16 at 03:10 PM

Sorry yes I checked and it is included. I'm starting to think it is a blueprint problem at this point.

avatar image ImVawx ♦♦ STAFF Oct 25 '16 at 06:34 PM

Hey LittleBigProgramming,

This is usually what I do to create / join sessions with Blueprint:

alt text

465502_session.png (217.5 kB)
avatar image LittleBigProgramming Oct 25 '16 at 09:18 PM

Thank you for your reply. I have implemented your blueprint instead of the one I was using previously. It now says failed to join session.

I have tried this on several PC's using LAN/Online and still says the same. It just can't find sessions.

avatar image ImVawx ♦♦ STAFF Oct 25 '16 at 09:21 PM

If it is failing to join a session, it could be a couple things.

How are you hosting the session? As in, are you hosting and joining the game on the same computer with two windows? Or, are you running the game on two computers?

avatar image LittleBigProgramming Oct 25 '16 at 09:38 PM

I have tried both, but currently I am hosting and joining on the same computer with two windows. Could this impact the outcome?

avatar image ImVawx ♦♦ STAFF Oct 26 '16 at 12:39 PM

If you are trying to host/join via Steam, yeah, this would prevent you from doing so. Steam doesn't like to handle two connections with one computer / Steam account.

However, if you are not using Steam, you should be able to run two clients (host/client) on the same machine.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question