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"

Using the Steam Onlinesubsystem in the Editor?

Trying to use the Sessions in blueprint to implement a server list, however it seems to only use OnlineSubsystemNull in the editor and the correct one when run standalone. Calls still fail, but I can't debug why since it's standalone instead of run in editor.

Do I have to start the editor itself through Steam or is there a simpler fix?

Product Version: UE 4.12
more ▼

asked Jun 10 '16 at 12:45 AM in Using UE4

avatar image

188 19 28 113

avatar image Xaymar Jun 10 '16 at 01:07 AM

Log shows this right after startup:

 LogOnline:Display: STEAM: Loading Steam SDK 1.32
 LogOnline:Warning: STEAM: Steam API disabled!
 LogOnline:Display: STEAM: OnlineSubsystemSteam::Shutdown()
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The Steam Online Subsystem does not work correctly with the editor unfortunately, so it disables itself if it detects the Editor present. There is no simple way to debug Blueprint based Steam code due to this, but increasing the LogOnline log verbosity to "verbose" in your configuration may help you figure out what is or isn't happening.

more ▼

answered Jun 10 '16 at 01:34 AM

avatar image

460 8 3 14

avatar image Xaymar Jun 10 '16 at 09:31 AM
 LogOnline:Display: STEAM: Loading Steam SDK 1.32
 LogOnline: STEAM: Steam User is subscribed 1
 LogOnline: STEAM: [AppId: 480] Client API initialized 1
 LogOnline:Verbose: STEAM: Initializing Steam Game Server IP: 0x00000000 Port: 7777 SteamPort: 7778 QueryPort: 27015
 LogOnline: STEAM: [AppId: 480] Game Server API initialized 1
 LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
 LogOnline:Verbose: STEAM: Created thread (ID:23416).
 [2016.06.10-09.27.47:823][  0]LogScriptCore:Warning: FindSessions - Invalid player state
 [2016.06.10-09.27.47:823][  0]LogBlueprintUserMessages: [UMG_ServerList_399] Failed
 [2016.06.10-09.27.47:824][  0]LogBlueprintUserMessages: [UMG_ServerList_399] Listing:  0

It seems to fail due to an invalid player state, whatever that means. I don't know of any Steam error that has a player state.

avatar image Xaymar Jun 10 '16 at 10:14 AM

Fixed it, the Owning Player was disconnected due to me changing the function.

avatar image MJBrune Sep 19 '16 at 05:25 PM

Do you know why the Steam OSS doesn't work with the editor? Any sort of issues arise with it?

(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