diff --git a/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp b/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp index 07bca5f8..dfbb6dc9 100644 --- a/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp +++ b/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp @@ -147,8 +147,6 @@ void SentrySubsystemDesktop::InitWithSettings(const USentrySettings* settings, U { isScreenshotAttachmentEnabled = true; - const FString ScreenshotPath = FGenericPlatformOutputDevices::GetAbsoluteLogFilename(); - #if PLATFORM_WINDOWS sentry_options_add_attachmentw(options, *GetScreenshotPath()); #elif PLATFORM_LINUX