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"

Advanced Sessions - Can't host Steam session

Hey there,

I am working on a Blueprint based multiplayer game which will run on Steam. I am using the Advanced Sessions plugin to host and find games yet I have a problem with hosting games. Unfortunately, it always fails.

Here are some things:

Output when the game tries to create a session:

 LogPlayLevel: [2018.03.01-18.32.40:723][144]LogOnline: Warning: Async task 'FOnlineAsyncTaskSteamCreateLobby bWasSuccessful: 0 LobbyId: 0 LobbyType: 2 Result: '15' k_EResultAccessDenied (access denied)' failed in 0.302356 seconds

Blueprint where the game is created: alt text

DefaultEngine.ini looks like this:

 [/Script/Engine.GameEngine]
 +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
 
 [OnlineSubsystem]
 DefaultPlatformService=Steam
 
 [OnlineSubsystemSteam]
 bEnabled=true
 SteamDevAppId=708670
 SteamAppId=708670
 
 [/Script/OnlineSubsystemSteam.SteamNetDriver]
 NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
 
 

I don't really know what's wrong with it at this point, so any suggestion will be appreciated.

Thanks in advance.

Product Version: UE 4.18
Tags:
createsession.png (259.0 kB)
more ▼

asked Mar 01 '18 at 06:47 PM in Blueprint Scripting

avatar image

koudy008
14 4 4 8

avatar image Bizentin Mar 19 '18 at 12:32 AM

I am also having this problem, did you find any solutions?

Edit* I actually fixed my issue.. I found out I was getting a null player character pass, needed to verify which pc was default for the level.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Make sure you check is Dedicated Server

more ▼

answered Nov 22 '18 at 11:40 PM

avatar image

Festus1440
1 1

(comments are locked)
10|2000 characters needed characters left

How are you testing it? Make sure steam is currently running on the computer and you launch a standalone version of the game either through the editor -> Play -▼ "Standalone Game" or right-clicking the project in your system explorer and selecting "Launch Game".

more ▼

answered Nov 23 '18 at 03:47 AM

avatar image

Lolxh4
76 1 5 2

(comments are locked)
10|2000 characters needed characters left
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