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"

USE STEAM FOR MULTYPLAYER

Hi all,

I followed that guide for use Steam for create multiplayer session:

https://wiki.unrealengine.com/Steam,_Using_the_Steam_SDK_During_Development#Engine.2FBinaries.2FThirdParty.2FSteamworks

I can compile the game without any troubles, but when i launch it i can't create a session

alt text alt text alt text

Product Version: UE 4.8
Tags:
immagine.png (320.5 kB)
controller.png (284.5 kB)
widget.png (262.2 kB)
more ▼

asked Jul 31 '15 at 05:22 PM in Blueprint Scripting

avatar image

Fanto88
310 23 15 27

avatar image makai Jul 31 '15 at 06:00 PM

Same setup in 4.82, same problem

 NULL: Can't start an online game for session (Game) that hasn't been created


Any ideas?

avatar image happyhorror Jul 31 '15 at 06:05 PM

one more simple check, are you sure your steam client running, not hanged and you logged in? because without it packaged/standalone game won't hook steam

avatar image makai Jul 31 '15 at 06:18 PM

i checked it while steam running or with parameter -NOSTEAM no matter

avatar image happyhorror Jul 31 '15 at 06:35 PM

while i'm trying make session creation from scratch in raw template projec

offer you and question author try dig into Multiplayer Shootout example game available for free in launcher, remember i tryed it already and sessions worked there fine through steam, so maybe looking deeper into how it work you may get idea what is different to your own impementaition and how rework your project to achieve nearly same core functionality behind visual interface

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

2 answers: sort voted first

Now i can create Steam Session and join. I don't know what was wrong, i just installed a new engine and followed the guide again

more ▼

answered Jul 31 '15 at 11:56 PM

avatar image

Fanto88
310 23 15 27

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

Hi,

i should know that steam doesn't work when game launched in editor from vieport, so at least you must run game as "standalone" (it's on right side of "play" button, just drop down menu and select there standalone)

p.s. don't forget mark question as answered when problem solved, so anyone else later can have same question and may find solution faster, if you find solution on your own, don't forget write it too

more ▼

answered Jul 31 '15 at 05:42 PM

avatar image

happyhorror
576 53 46 72

avatar image Fanto88 Jul 31 '15 at 05:45 PM

I launched it from the .exe after the package ^^

avatar image happyhorror Jul 31 '15 at 05:50 PM

at first look on 2 of 3 screenshots you make "cast" and doesn't handle "cast failed", best prictise is not leave any uncontrolled flow control, add at least "print string" here and package game again or run in standalone mode to check if your cast doesn't fail

tell if they doesn't fail casting, i'll try look closier and deeper

avatar image Fanto88 Jul 31 '15 at 05:52 PM

Sorry, i didn't say that the game print "Can't create session" in the "On failure" output from "Create Session" node. So the cast are all fine

avatar image happyhorror Jul 31 '15 at 05:58 PM

one more simple check, are you sure your steam client running, not hanged and you logged in? because without it packaged/standalone game won't hook steam

(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