UE4 <-> Steam Setup Utility
Here is a utility I built to ease the frustrations of configuring Steam with Unreal. Just point to the required directories on your computer and the files will get copied into their appropriate paths. If there are any questions or improvement suggestions please let me know.
Version 1.4 Downloads
Click Here -> Installer](UE4SteamCon_v1.4)
Click Here -> Visual Studio Project](UE4SteamConnection1.4Source)
Results
UE4 Source with Steamv130 - Fully working
Test overlay in editor: Works!
Test achievements in editor: Works!
Test host game on Steam: Works!
Test Join Game on Steam: Works!
Test shipping build overlay: Works!
UE4 Source with Steamv132 - Fully working
Test overlay in editor: Works!
Test achievements in editor: Works!
Test host game on Steam: Works!
Test Join Game on Steam: Works!
Test shipping build overlay: Works!
Features
- Update game config file with Steam features
- Copies Steam binaries to appropriate paths
- Configures OnlineSubsystemSteam.cpp to enable steam in editor
- Updated to include status text to guide through the process of enabling steam
- Verify that changes have been made to settings so it doesn’t force requirement of a full source rebuild
- Includes simple setup for game projects Build.cs and Target.cs to enable online features
- Easy access to modified directories
- Onscreen log of process
**Setup Procedure **
- Run the UE4 <> Steam utility and setup the paths to correct directories, press the setup button.
- Open the source for Unreal, right click project and select clean
- Right click unreal source project and select rebuild
- After UE4 source is rebuilt, delete the binaries from the game project folder
- Open the game’s .uproject and when it asks to rebuild modules, select yes.
Common Fix Procedures
- After modifying the source code of unreal, do a clean then a rebuild. This will get rid of any scrap code from previous compiles.
- When modifying the game project, do a build. You can also do a clean and rebuild to provide extra sense of security that problems will be resolved. By default the game project isn’t modified so a build isn’t necessary. Although config files
- are modified and may require deleting the contents of the binary folder before starting the project
- When modifying config files(Adding achievements) delete the contents of the binaries folder of the game project, then open the uproject and have it rebuild the binaries.
Tips
Make sure logged in to Steam before starting the editor(If set to load steam in the editor) otherwise you’ll get an error
The result of having steam loaded in editor, but not logged into steam:
When enabling steam in the editor:
- You can’t open game in ‘New Editor Window’, you have to use ‘Standalone Game’
- You can open multiple standalone games with the steam overlay
- Achievements must be published on Steam and require a full restart of the UE4 editor in order to appear in the overlay.
Quick Demonstration of creating a new project using the Binary UE4 build and automatically setting it up for Steam