https://i.imgur.com/vv2dOsL.png
this one forks fine for me on windows, linux, android , but ios crash report have no log attached. what I missed for ios?
#ios log missing
16 messages · Page 1 of 1 (latest)
Hey @steep pier, I'll just link the corresponding GitHub issue here - https://github.com/getsentry/sentry-unreal/issues/728
GitHub
Environment - IOS How do you use Sentry? Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?) ( both same result ) Which version of the SDK? 0.21.1 Which version of Unreal? 5.3 Steps ...
https://github.com/getsentry/sentry-unreal/issues/728
@frail socket please check
GitHub
Environment - IOS How do you use Sentry? Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?) ( both same result ) Which version of the SDK? 0.21.1 Which version of Unreal? 5.3 Steps ...
This doesn't feel right. I wonder why FGenericPlatformOutputDevices::GetAbsoluteLogFilename() return invalid log file path in the first place 🤔
For me it worked as expected for non-crash events at least. Can you try CaptureMessage without the above fix and see if the log file is attached?
Nvm, I've just seen your GitHub comment about events captured manually
sadly CaptureMessage also not worked without my fix
I've just check what previous code returns and it returs Library but logs are in Documents
Interesting, I'm looking into this now and on iOS log file path for me is /var/mobile/Containers/Data/Application/[REDACTED - DEVICE UUID]/Documents/SentryPlayground.log
Do you encounter this behavior in Shipping or Development build?
I believe Library is part of the path on Mac but that's not the case for iOS
@steep pier Is there any chance you're modifying default path to user's save dir via the command line params or by overriding variables like UE_SAVED_DIR_OVERRIDE?
It would still be odd since we do not use any hardcoded paths in the plugin and relying entirely on Unreal API which internally handles such cases too
both development + shipping has no log attached for non-modified 22 sentry ( ue 5 3 ). and both fine for fix
sure no, we dont override UE_SAVED_DIR_OVERRIDE
You are correct but please check next
- we have log on path you said
- but this engine function returns such path but library instead of documents
/var/mobile/Containers/Data/Application/B00D49FB-893D-4A2A-A939-AB34D94B249C/Library/KOMPETE/Saved/Logs/KOMPETE.log vs /var/mobile/Containers/Data/Application/B00D49FB-893D-4A2A-A939-AB34D94B249C/Documents/KOMPETE/Saved/Logs/KOMPETE.log