#ios log missing

16 messages · Page 1 of 1 (latest)

steep pier
frail socket
steep pier
frail socket
#

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?

frail socket
steep pier
#

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

frail socket
#

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

frail socket
#

@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

steep pier
#

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

steep pier
#

You are correct but please check next

  1. we have log on path you said
  2. 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