getsentry / sentry-unreal

Unreal Engine
https://docs.sentry.io/platforms/unreal/
MIT License
83 stars 34 forks source link

Sentry does not on dedicated server based on Amazon_Linux_2023 and Amazon_Linux_2 #635

Open VARGDevelopment opened 4 days ago

VARGDevelopment commented 4 days ago

Environment

Amazon_Linux_2023 and Amazon_Linux_2

How do you use Sentry?

Just start dedicated server on AWS instance.

Which version of the SDK?

SENTRY_SDK_VERSION "0.7.6"

How did you install the package? (Git-URL, Assetstore)

Git-URL(Not-marketplace)

Which version of Unreal?

5.3

Is this happening in Unreal (editor) or on a player like Android, iOS, Windows?

All good. Works perfect on Windows.

Steps to Reproduce

  1. Build Dedicated server and upload to AWS
  2. Start server

Expected Result

Sentry works and initializes fine.

Actual Result

Sentry fails to initialize Image

What I found out that -

ldd crashpad_handle give us:
libc++.so.1 => not found
libc++abi.so.1 => not found
tustanivsky commented 4 days ago

Hey @VARGDevelopment, please try sudo apt-get install libc++-dev libc++abi-dev libcurl-dev on your server to install these missing Crashpad dependencies.

VARGDevelopment commented 4 days ago

Hey @VARGDevelopment, please try sudo apt-get install libc++-dev libc++abi-dev libcurl-dev on your server to install these missing Crashpad dependencies.

Image Unfortunately does not work. Im not Linux user from start.

tustanivsky commented 1 day ago

The dependencies listed above are required to start the Crashpad on Linux. Since libc++ is part of the LLVM project you can try installing these missing packages by following this guide.

VARGDevelopment commented 1 hour ago

@tustanivsky installed LLVM and got the same problem. Maybe crashpad could be build statically for that case?