Hello.
I’m using 4.10.2.
Yesterday I successfully set up my own project (blueprint only) for local and via-IP multiplayer via “[OnlineSubsystem] DefaultPlatformService=None” and today I tried to integrate Steam.
I found this tutorial ([Unreal Engine 4 Tutorial - Steam Achievements][1]) that explains setting up Steam for a project. It works perfect in a newly created 2D Side Scroller project with using Steamworks v136. But in my own project I’m getting a crash on startup (standalone mode). The game works without Steam integration, which (the Steam integration) is exactly the same for my own project and the 2D Side Scroller project that I tested Steam with. In fact I copied the files (DefaultEngine entries and Steamworks files) from my own project over into the 2D Side Scroller project and it worked instantly. Both projects are started in Standalone Mode, apparently otherwise Steam wouldn’t work, which I’m able to bring up via Shift+Tab in the crash dialog btw, see screenshot.
MachineId:92A1665144D44D345B48B6B7ECA8F47D
EpicAccountId:409ace13d51040839d7ad4bf9409f62f
Unknown exception - code 00000001 (first/second chance not available)
"Assertion failed: Class [File:d:\bui
UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\misc\outputdevice.cpp:374]
UE4Editor_Engine!NewObject<UGameInstance>() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\public\uobject\uobjectglobals.h:1130]
UE4Editor_Engine!UGameEngine::Init() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\gameengine.cpp:465]
UE4Editor!FEngineLoop::Init() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launchengineloop.cpp:2094]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launch.cpp:136]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll
Here is the complete Diagnostics.txt: ** http://pastebin.com/dn2pxUX0 **
Here is the log file: ** http://pastebin.com/g7PcssTt **
I noticed the log file has a couple of warnings etc that I haven’t seen before. The only one that was known to me is “PIE:Warning: Warning The widget ‘HUD_TravelMenu_C’ was already added to the screen.” But removing the function causing this (cause I’m a noob and didn’t quite see how to fix it yet) doesn’t resolve the issue.
I also noticed the Steam warnings in the log:
LogOnline:Display: STEAM: Loading Steam SDK 1.32
LogOnline:Warning: STEAM: Steam API disabled!
LogOnline:Display: STEAM: OnlineSubsystemSteam::Shutdown()
But I don’t know why this happens, the other project works just fine. And as seen in the above screenshot, Steam does come up.
I also tried some other methods to integrate Steam. The [official guide][4] and [Rama’s Guide][5]. Both required me to add and edit C++ files, that lead to other problems (Rama’s guide resulted in a similar crash), so I was quite happy with this Only-Blueprint solution to integrate Steam. I’m realizing now the other methods might have been successful in a clean project.
Does somebody have an idea what might cause my game crash?
Btw I always cloned my project before trying the different Steam integrations. The single integrations are always done from the “clean” project state that has local and via-IP play working.
Thanks in advance!