Skip to content

Commit cef7e6e

Browse files
authored
chore(Unity): Added Mono & Line Numbers to Known Limitations (#14736)
1 parent 7fcdaa3 commit cef7e6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/platforms/unity/troubleshooting/known-limitations.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ The exception provided by Unity that is getting captured by the logging integrat
3030

3131
Currently, it is not possible for the SDK to distinguish between the user calling `Debug.LogException` and the SDK capturing an unhandled exception. To capture an exception and mark it as handled you can call `SentrySDK.CaptureException` instead.
3232

33+
### Line Numbers Missing when Building with Mono
34+
35+
When building with Mono, make sure to set the `ManagedStrippingLevel` to `None`. Otherwise, Unity will strip the debug information from the assembly, which will cause the SDK to fail to retrieve the debug ID that allows connecting the assembly to the correct debug symbols for symbolication.
36+
3337
### C++ as Part of the Stack Trace
3438

3539
Your stack traces might contain C++ frames. This might be because:

0 commit comments

Comments
 (0)