top of page
Search

Dev Log 2# Connected to the Steam Subsystem!!! But nothing works???

Updated: Aug 18, 2023

So connecting to the steam subsystem was wayyyy easier than I thought it would be but its all thanks to the unreal engine documentation being amazing and providing everything you need to include in the Default Engine.ini file and then its just a matter of making sure the plugin settings has the steam subsystem ticked and including it in the dependencies in the build file. I've also completed the first draft of the menu class which is linked to a menu widget blueprint so that the play can host or join a session however when I first went to test it I got the message "Failed to join session" which is a debug message I included for such a scenario. I managed to find help on my course discord server which goes through a multitude of steps to fix this which includes making sure to get rid of the comments to creating a bool function to get the session interface from the subsystem as it was pointed out that having the lines mentioned in the paragraph below in the class constructor might cause the error SessionInterface.IsUnique() to pop up In the output log. When I try testing in the editor I get both the create session failed and success messages simultaneously but I'm able to host the session and travel to the designated map lobby. so I know there's nothing wrong with the server travel otherwise I wouldn't be able to travel at all and there's nothing wrong with default engine file nor my dependencies otherwise I wouldn't be able to connect to steam. at this point there's a fair bit of code to look over I think I just need to take a break allow myself to mentally reset and then go again. at this point I'm considering just restarting because it wouldn't take me too long to get back to where I am currently and it might just be what I need after I'm well rested.


IOnlineSubsystem* Subsystem = IOnlineSubsystem::Get(); if (Subsystem) { SessionInterface = Subsystem->GetSessionInterface(); }


 
 
 

Kommentarer


bottom of page