getsentry / sentry-unreal

Unreal Engine
https://docs.sentry.io/platforms/unreal/
MIT License
83 stars 33 forks source link

Crash when pressing play in Editor when using binaries from UGS #111

Closed Edstub207 closed 1 year ago

Edstub207 commented 1 year ago

Environment

How do you use Sentry? Sentry.io

Which version of the SDK? Latest.

How did you install the package? (Git-URL, Assetstore) Git

Which version of Unreal? 5.0.0 Is this happening in Unreal (editor) or on a player like Android, iOS, Windows? Editor

Steps to Reproduce

  1. Press play in the editor

Expected Result

No crashes

Actual Result

[2022.09.15-12.21.02:210][334]LogMemory: Physical Memory: 19995.57 MB used, 45249.97 MB free, 65245.54 MB total [2022.09.15-12.21.02:210][334]LogMemory: Virtual Memory: 30601.04 MB used, 38740.50 MB free, 69341.54 MB total [2022.09.15-12.21.02:210][334]Message dialog closed, result: Ok, title: The UE5-Editor has crashed and will close, text: Fatal error!

[2022.09.15-12.21.02:210][334]LogWindows: Error: === Critical error: === [2022.09.15-12.21.02:210][334]LogWindows: Error: [2022.09.15-12.21.02:210][334]LogWindows: Error: Fatal error! [2022.09.15-12.21.02:210][334]LogWindows: Error: [2022.09.15-12.21.02:210][334]LogWindows: Error: Unhandled Exception: 0xc06d007e [2022.09.15-12.21.02:210][334]LogWindows: Error: [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ffa75164fd9 KERNELBASE.dll!UnknownFunction [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff95b996932 UnrealEditor-Sentry.dll!_delayLoadHelper2() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff95b9948f5 UnrealEditor-Sentry.dll!_tailMerge_sentry_dll() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff95b984d4c UnrealEditor-Sentry.dll!SentrySubsystemDesktop::InitWithSettings() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff95b9850c8 UnrealEditor-Sentry.dll!USentrySubsystem::Initialize() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d2752803 UnrealEditor-Engine.dll!FSubsystemCollectionBase::AddAndInitializeSubsystem() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d2771009 UnrealEditor-Engine.dll!FSubsystemCollectionBase::Initialize() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d1557cec UnrealEditor-Engine.dll!UGameInstance::Init() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d1558f3d UnrealEditor-Engine.dll!UGameInstance::InitializeForPlayInEditor() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d61b8c1c UnrealEditor-UnrealEd.dll!UEditorEngine::CreateInnerProcessPIEGameInstance() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d61ef0a6 UnrealEditor-UnrealEd.dll!UEditorEngine::OnLoginPIEComplete_Deferred() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d61ba782 UnrealEditor-UnrealEd.dll!UEditorEngine::CreateNewPlayInEditorInstance() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d620d86a UnrealEditor-UnrealEd.dll!UEditorEngine::StartPlayInEditorSession() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d6211077 UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequestImpl() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d6210961 UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequest() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d5badaf3 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff9d653ab76 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff7445782f6 UnrealEditor.exe!FEngineLoop::Tick() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff744590dac UnrealEditor.exe!GuardedMain() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff744590e9a UnrealEditor.exe!GuardedMainWrapper() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff744593c5d UnrealEditor.exe!LaunchWindowsStartup() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff7445a5544 UnrealEditor.exe!WinMain() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ff7445a86f6 UnrealEditor.exe!__scrt_common_main_seh() [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ffa77367034 KERNEL32.DLL!UnknownFunction [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [Callstack] 0x00007ffa77502651 ntdll.dll!UnknownFunction [] [2022.09.15-12.21.02:210][334]LogWindows: Error: [2022.09.15-12.21.02:217][334]LogExit: Executing StaticShutdownAfterError [2022.09.15-12.21.02:221][334]LogWindows: FPlatformMisc::RequestExit(1) [2022.09.15-12.21.02:221][334]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3) [2022.09.15-12.21.02:221][334]LogCore: Engine exit requested (reason: Win RequestExit) [2022.09.15-12.21.02:222][334]LogThreadingWindows: Error: Runnable thread StallDetectorThread crashed. [2022.09.15-12.21.02:222][334]LogWindows: Error: HandleError re-entered. [2022.09.15-12.21.02:222][334]LogWindows: FPlatformMisc::RequestExit(1) [2022.09.15-12.21.02:222][334]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3) [2022.09.15-12.21.02:222][334]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested) [2022.09.15-12.21.02:226][334]Log file closed, 09/15/22 13:21:02

Any logs or screenshots

Edstub207 commented 1 year ago

We think we found the cause of this - It's not being packaged correctly with UGS Binaries.

Edstub207 commented 1 year ago

Resolved by #112