Skip to content

Commit 4872e3f

Browse files
authored
startup time detection: fast (#123)
1 parent f01079e commit 4872e3f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixes
66

77
- Bump sentry-dotnet to 8ca0906 - fix IL2CPP crash (#122)
8+
- IL2CPP players crash due to startup time detection (#123)
89

910
## 0.0.7
1011

src/Sentry.Unity/SentryInitialization.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ internal static void Init(UnitySentryOptions options)
6060
{
6161
o.Dsn = options.Dsn;
6262

63+
// IL2CPP doesn't support Process.GetCurrentProcess().StartupUpTime
64+
o.DetectStartupTime = StartupTimeDetectionMode.Fast;
65+
6366
if (options.Logger != null)
6467
{
6568
o.Debug = true;

0 commit comments

Comments
 (0)