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

fix: System.DllNotFoundException during Sentry initialization in Unity Headless Linux Server build #1748

Merged
merged 6 commits into from
Jul 29, 2024

Conversation

tustanivsky
Copy link
Collaborator

This PR fixes the issue with loading libsentry.so on older Linux versions during Sentry initialization.

Switching to using Ubuntu 20.04 for building sentry-native in CI allows to preserve its compatibility with GLIBC libs that are available on older Linux versions.

Closes #1730 , #1719

@@ -34,7 +34,7 @@ jobs:
- target: iOS
host: macos-13
- target: Linux
host: ubuntu-latest
host: ubuntu-20.04
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're pinning versions we should put a comment there why we do it. So it doesn't get undone by accident

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I've linked the corresponding issue here for extra context

Copy link
Contributor

@bitsandfoxes bitsandfoxes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks for figuring this out!

@bitsandfoxes bitsandfoxes merged commit 423c5c0 into main Jul 29, 2024
15 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/linux-server-lib-loading branch July 29, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System.DllNotFoundException runtime.initialization on Unity Headless Linux Server build
2 participants