Closed tanis2000 closed 5 months ago
Do you have the overlay enabled for your Mac build? The EOS Social Overlay isn't supported on Mac. I'd try disabling it to see if the crash persists. It's odd this is happening in 5.4 and not 5.3. I'll have a look at the diff in the plugin initialization code between both versions.
I just tried switching those three values to False in DefaultEngine.ini but the result is the same. Still the same crash:
bEnableOverlay=False
bEnableSocialOverlay=False
bEnableEditorOverlay=False
Can you reach out via a private discussion on EOSHelp and provide the full set of logs and a dump file? https://eoshelp.epicgames.com/s/?language=en_US
I have created case 10886411. The log is the same you see in this issue... is there anything else I can collect somewhere else outside the UE log?
I found the issue. It's this line: https://github.com/EpicGames/UnrealEngine/blob/16dc333db3d6439c7f2886cf89db8907846c0e8a/Engine/Plugins/Online/OnlineSubsystemEOS/Source/OnlineSubsystemEOS/Private/OnlineSubsystemEOS.cpp#L270
I commented out bShouldEnforceBeingLaunchedByEGS=False
in DefaultEngine.ini and now everything works like a charm.
It looks like someone removed a vararg from the UE_LOG_ONLINE but forgot the "%hs" at the beginning of the log line. I have no clue why that works on Windows, though :)
I'll flag this to the UE team. I also need to figure out what's the best way of maintaining this project since we removed bShouldEnforceBeingLaunchedByEGS and replaced with bUseLauncherChecks since this project was written.
Thanks for the support, you actually put me on the right track to find out the origin of the problem.
i would suggest to update this project to UE5.4 and set up the ini files accordingly. And you will also need to add a couple of headers in two .cpp files as some classes have been shuffled around and the concrete implementation will be missing, but that’s easy to find and fix
I used to run this project with UE5.3 and it was working fine on both Windows and macOS. Now I tried to run it with UE5.4 and the following crash happens on macOS (it does not happen on Windows):