Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios log missing #728

Open
NoCodeBugsFree opened this issue Jan 10, 2025 · 5 comments
Open

ios log missing #728

NoCodeBugsFree opened this issue Jan 10, 2025 · 5 comments

Comments

@NoCodeBugsFree
Copy link

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 to Reproduce

project , configured with attach game logs
https://i.imgur.com/vv2dOsL.png
this one forks fine for me on windows, linux, android , but ios crash report have no log attached.

Expected Result

ios crash have a log like other platforms did

Actual Result

no logs for ios crash https://i.imgur.com/UMXmmxd.png

@tustanivsky
Copy link
Collaborator

@NoCodeBugsFree On iOS, game logs can only be attached to captured events in development (non-shipping) builds. Could you let us know if you have this issue in that configuration as well?

Also, there is another related bug with iOS game log attachments (specific to crash events) - #302

@NoCodeBugsFree
Copy link
Author

  1. I have engine modified to have logs both development/shipping builds
  2. even in development builds we dont have logs attached
  3. 100 percent logs exist on devices and I can fetch it both development/shipping builds

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 10, 2025
@tustanivsky
Copy link
Collaborator

Did you make any changes to the engine related to log file naming/location?

Is the missing log issue occurring only for crashes, or does it also affect events that are manually captured?

The underlying Sentry Cocoa SDK should always be able to pick up a log file from its default location if the Attach game log to captured events option was enabled in project settings:

const FString logFilePath = IFileManager::Get().ConvertToAbsolutePathForExternalAppForRead(*FGenericPlatformOutputDevices::GetAbsoluteLogFilename());

@NoCodeBugsFree
Copy link
Author

Did you make any changes to the engine related to log file naming/location?

nope, only to produce logs even in shipping builds

Is the missing log issue occurring only for crashes, or does it also affect events that are manually captured?
idk, will try it and report

@NoCodeBugsFree
Copy link
Author

or does it also affect events that are manually captured?

tested.
no logs for ios. android is fine

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Waiting for: Product Owner
Development

No branches or pull requests

2 participants