This PR added the ability to cache minidumps as separate .dmp files alongside .envelope files in the sentry DatabasePath cache directory. However, this feature only works when sentry-native is handling crashes directly via its own crashpad backend.
When the external Unreal crash reporter is active, crash handling is owned entirely by Unreal, and the sentry-native caching logic in process_completed_reports() is never reached. The external reporter path only writes a small session envelope via flush_external_crash_report(), so no minidump caching occurs.
Expected behavior:
When cache_keep is enabled and the external crash reporter is configured, .dmp files should be written to the DatabasePath cache directory alongside their corresponding .envelope files, consistent with the behavior of the native crashpad path.
This PR added the ability to cache minidumps as separate .dmp files alongside .envelope files in the sentry DatabasePath cache directory. However, this feature only works when sentry-native is handling crashes directly via its own crashpad backend.
When the external Unreal crash reporter is active, crash handling is owned entirely by Unreal, and the sentry-native caching logic in process_completed_reports() is never reached. The external reporter path only writes a small session envelope via flush_external_crash_report(), so no minidump caching occurs.
Expected behavior:
When cache_keep is enabled and the external crash reporter is configured, .dmp files should be written to the DatabasePath cache directory alongside their corresponding .envelope files, consistent with the behavior of the native crashpad path.