Skip to content

Commit 6810973

Browse files
bitsandfoxesvivianyentranbruno-garcia
authored
feat(unity): IL2CPP line number limitations (#7629)
Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com> Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
1 parent 9d07e80 commit 6810973

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/platforms/unity/configuration/il2cpp.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ options.Il2CppLineNumberSupportEnabled = false;
2525
```
2626

2727
The support for line numbers in C# Exceptions with IL2CPP relies on the debug symbol upload. With the automated debug symbol upload enabled, the [Sentry SDK will upload the line mapping automatically](/platforms/unity/native-support/#debug-symbols).
28+
29+
### Known Limitations
30+
31+
Currently, line number support is limited when programmatically subscribing to button click events via `Button.onClick.AddListener`. However, you can set up callbacks through the editor to work around this.

0 commit comments

Comments
 (0)