#Unreal Engine crashing on play with PlayfabGSDK. When I change the game instance it doesnt crash.

22 messages · Page 1 of 1 (latest)

wary bear
#

Hey guys I am using unreal engine 5.4 and when I press play my game crashes throwing an exception. It was working perfectly before, the crash has come out of nowhere. This happened a few weeks ago and I can't find a fix.

wary bear
#

[2024.10.07-18.22.09:812][ 91]LogAudio: Display: Audio Occlusion Plugin: None (built-in).
[2024.10.07-18.22.09:823][ 91]LogAudioMixer: Display: Initializing audio mixer using platform API: 'XAudio2'
[2024.10.07-18.22.09:859][ 91]LogAudioMixer: Display: Using Audio Hardware Device Speakers (fifine Headset)
[2024.10.07-18.22.09:861][ 91]LogAudioMixer: Display: Initializing Sound Submixes...
[2024.10.07-18.22.09:861][ 91]LogAudioMixer: Display: Creating Master Submix 'MasterSubmixDefault'
[2024.10.07-18.22.09:861][ 91]LogAudioMixer: Display: Creating Master Submix 'MasterReverbSubmixDefault'
[2024.10.07-18.22.09:863][ 91]LogAudioMixer: FMixerPlatformXAudio2::StartAudioStream() called. InstanceID=2
[2024.10.07-18.22.09:863][ 91]LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=2, Samples=2048, InstanceID=2
[2024.10.07-18.22.09:869][ 91]LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=2
[2024.10.07-18.22.09:869][ 91]LogAudioMixer: Display: FMixerPlatformXAudio2::SubmitBuffer() called for the first time. InstanceID=2
[2024.10.07-18.22.09:869][ 91]LogInit: FAudioDevice initialized with ID 2.
[2024.10.07-18.22.09:869][ 91]LogAudio: Display: Audio Device (ID: 2) registered with world 'DevTestMap'.
[2024.10.07-18.22.09:869][ 91]LogAudioMixer: Initializing Audio Bus Subsystem for audio device with ID 2
[2024.10.07-18.22.09:921][ 91]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2024.10.07-18.22.09:926][ 91]LogPlayFabGSDKGameInstance: Warning: Reached onStart!
[2024.10.07-18.22.09:926][ 91]LogPlayFabGSDK: Display: ReadyForPlayers, setting game state to StandingBy!
Exception thrown at 0x00007FFE8D551A8D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
The program '[52960] UnrealEditor.exe' has exited with code 0 (0x0).

wind gull
#

I have the same, did you fix it ?

wary bear
#

Try going back like 10 versions

wind gull
#

I know but i fixed it in other way

#

Any way thanks

wary bear
#

what did you do?

#

sorry for late replies @wind gull

wind gull
#

I changed a little code

#

I Think it’s no meant to work in editor

#

Crash is because GSDKInternal is nullptr

#

In playfabGSDK.cpp its created but not on ModuleStartup

#

So in StartupModule() i changed #if GSDK_Server in calling ManuallStartupModule()

#

ManualStartupModule Is spawanie GSDKInternal.cpp

#

Spawning*

#

It’s just to call function ManualStartupModule in StartupModule() but need to change ifs in StarupModule() to check if it is GSDK_Server

#

I can sent you codę when i back from work

wary bear
#

If you could thatd be amazing man thank you so much

solid anvil
solid anvil
#

hey @wind gull @wary bear I chatted with folks and your theory is correct, this is not meant to work in the editor.