Announcement

Collapse
No announcement yet.

UE4 4.25 Steam Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UE4 4.25 Steam Issue

    Hi Guys,

    not sure 100% is this is where to stick this post, but ive been creating a plugin for steam (yes another one ) and just upgraded to 4.25
    I have updated project to 4.25 and any link to steamworks to 147.

    i run my sample project in standalone and i no longer get steam or the overlay for steam, shift and tab till i break my keyboard

    I have checked all the online subsystem steam stuff is checked in plugins and my configs havent changed?

    I created a new project and added the config items to engine.ini and enabled subsystem steam in the plugin settings and same thing!

    Am I missing something obvious with this latest release?

    kind regards


    Edit
    --------------------------------------------------------------------------------------------------

    Found this in the Log

    LogSteamShared: Display: Loading Steam SDK 1.47
    LogSteamShared: Steam SDK Loaded!
    LogOnline: OSS: Creating online subsystem instance for: Steam
    LogOnline: Warning: STEAM: Steam API disabled!
    LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
    LogOnline: OSS: Unable to create OnlineSubsystem module Steam
    LogOnline: OSS: Creating online subsystem instance for: NULL
    LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
    LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for module [NULL]
    Last edited by Saragan; 05-06-2020, 10:36 AM.

    #2
    Originally posted by Saragan View Post
    Hi Guys,

    not sure 100% is this is where to stick this post, but ive been creating a plugin for steam (yes another one ) and just upgraded to 4.25
    I have updated project to 4.25 and any link to steamworks to 147.

    i run my sample project in standalone and i no longer get steam or the overlay for steam, shift and tab till i break my keyboard

    I have checked all the online subsystem steam stuff is checked in plugins and my configs havent changed?

    I created a new project and added the config items to engine.ini and enabled subsystem steam in the plugin settings and same thing!

    Am I missing something obvious with this latest release?

    kind regards


    Edit
    --------------------------------------------------------------------------------------------------

    Found this in the Log

    LogSteamShared: Display: Loading Steam SDK 1.47
    LogSteamShared: Steam SDK Loaded!
    LogOnline: OSS: Creating online subsystem instance for: Steam
    LogOnline: Warning: STEAM: Steam API disabled!
    LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
    LogOnline: OSS: Unable to create OnlineSubsystem module Steam
    LogOnline: OSS: Creating online subsystem instance for: NULL
    LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
    LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for module [NULL]
    Did you work this issue out I get the same thing?

    Comment


      #3
      unfortunately not, currently waiting for responses/ideas, I have also added the question to the transition guide post
      https://forums.unrealengine.com/deve...ansition-guide

      as soon as I can get an answer i update the opposite thread. The only thing i can think of is they added a new config variable to initialise steam that i cant find.
      Or in changing steam version there was a misstep and it doesn't load properly.

      I might dip into the source code later and see if i can determine where/why it doesn't load. It is not something I have done much of for UE4 so might take some time

      kind regards

      Comment


        #4
        Originally posted by Saragan View Post
        unfortunately not, currently waiting for responses/ideas, I have also added the question to the transition guide post
        https://forums.unrealengine.com/deve...ansition-guide

        as soon as I can get an answer i update the opposite thread. The only thing i can think of is they added a new config variable to initialise steam that i cant find.
        Or in changing steam version there was a misstep and it doesn't load properly.

        I might dip into the source code later and see if i can determine where/why it doesn't load. It is not something I have done much of for UE4 so might take some time

        kind regards
        Ah ill have a pop around to seems odd they would miss something so large in the preview builds.

        Comment


          #5
          Looking at the code in
          /release/Engine/Plugins/Online/OnlineSubsystemSteam/Source/Private/OnlineSubsystemSteam.cpp

          , it will only shutdown like that with LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()

          if either if (bClientInitSuccess && bServerInitSuccess) fails on line 440

          so i take it, that the problem lies somewhere in the Init function at 416 to line 440

          the only thing that seems to have changed was the addition of "Fixing Steam OSS initializing a server when starting a client build (97859d95fbbbcb7a243f4f847375812eb1899ceb)"
          not sure that that would cause it though and i did try bInitServerOnClient=true in my config and no difference.

          so without debugging i can only assume that InitSteamworksClient(bRelaunchInSteam, RelaunchAppId) is returning false so where?
          anyone able to debug that, not got it set up, just looking at the code on git hub?

          not sure if im chasing a red herring here though, but given the log says its shut down and the over lay isnt there then the overlay i think gets added in that InitSteamworksClient function but not 100%

          kind regards

          Comment


            #6
            Some people are reporting no issues using steam on 4.25 which is strange.

            Comment


              #7
              very odd :S in the new "CLEAN" projects created from 4.25 this is what i have enabled (plus trying anything said above)

              could anyone try the below and see what I am missing, if it works for some people id imagine its something obvious?

              Click image for larger version

Name:	steamissue.png
Views:	907
Size:	77.4 KB
ID:	1757259

              Comment


                #8
                Steam works fine when packaged just doesn't work in the editor and I'm pretty sure its because of the play option changes.

                Comment


                  #9
                  Issue has been logged
                  https://issues.unrealengine.com/issue/UE-92985

                  Comment


                    #10
                    For those wondering, it is still possible to run steam without needing to package. The Standalone Game no longer runs the Steam overlay, but here's at least 3 other ways to do it:

                    1) Run the game from Visual Studio using debug/development config or debug/development editor config with "-game" as extra command argument in the debugging section of your project properties.

                    2) Run the game using the project launcher in editor. You can either use the Launch option directly or make your custom launching profile for the platform you are trying to run the game on. Unfortunately, this requires cooking the content which may take some time.

                    3) Run the game from command line.

                    It's slower than just using the Standalone button, but it's at least an alternative.
                    Last edited by ANameTooLongToFi; 05-19-2020, 01:33 PM.

                    Comment


                      #11
                      I had a quick look at the release notes for v4.25 and this showed up. Can someone who knows what they are doing help me with what I have to do?
                      Attached Files

                      Comment


                        #12
                        it is worked by using "-game" as extra command argument

                        Comment


                          #13
                          Well this certainly explains the last five hours of tearing my hair out.

                          Edit: Another workaround is right-clicking the .uproject file and hitting "Launch Game" from there, uses the editor binaries looks like so no build time.
                          Last edited by roxaloxa; 06-10-2020, 08:43 AM.

                          Comment


                            #14
                            From the release note

                            Bug Fix: Fixed Steam OSS initializing a server when starting a client build. This is an outdated initialization flow that was never meant to be a feature and is no longer necessary to perform at startup. To restore this behavior, set OnlineSubsystemSteam.bInitServerOnClient to true in any Engine*.ini file.
                            so go to your DefaultEngine.ini and add
                            OnlineSubsystem.bInitServerOnClient=true
                            and try launch game by right click on (.uproject) file.

                            Comment


                              #15
                              When I right-click and Launch Game off of my .uproject per roxa's tip, I can get the Steam overlay to come up, no problems there. But if I package it as a dev or shipping build, I get nothing at all - unlike OverRated's experience. (And nothing from the editor, same as everybody else). It doesn't work trying from an elevated command prompt either. I'm a little confused about where to put the "-game" switch... Are you guys talking about in a shortcut to test in the editor, or on an actual build? I'd like to get Steam running off a packaged game where I can send it to others to help test multiplayer, and not just playing / launching from the editor binaries... that's a giant mess.

                              Comment

                              Working...
                              X