getsentry / sentry-unity

Development of Sentry SDK for Unity
https://docs.sentry.io/platforms/unity/
MIT License
203 stars 51 forks source link

DllNotFoundException: Unable to load DLL 'sentry' on Unity Headless Linux Build #1719

Closed AvinashP closed 1 week ago

AvinashP commented 1 month ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Make a Unity Linux Headless build
  2. Run it in Batch mode
  3. It happens 100% times

We had reported it via bug reporting months back but no resolution yet.

Expected Result

There should now be any exception.

Actual Result

DllNotFoundException: Unable to load DLL 'sentry'. Tried the load the following dynamic libraries: Unable to load dynamic library 'sentry' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = sentry: cannot open shared object file: No such file or directory at Sentry.Unity.Native.SentryNative.ReinstallBackend () [0x00000] in <00000000000000000000000000000000>:0

Product Area

Issues

Link

https://lila-games.sentry.io/issues/5309961659/?project=4507208985804800&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=2

DSN

No response

Version

2.0.7

getsantry[bot] commented 1 month ago

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

getsantry[bot] commented 1 month ago

Routing to @getsentry/product-owners-other for triage ⏲️

bitsandfoxes commented 1 month ago

Thanks, @AvinashP for reaching out! Sorry to see you run into trouble. Can you share the contents of the build output with us?

bitsandfoxes commented 1 week ago

Fixed and part of the 2.1.3 release. Please feel free to reopen this issue if it persists for you.