Commit 8a6d017
Fix race condition in initialization - eagerly load properties
- Eagerly load SuperProperties, OnceProperties, and TimedEvents during Initialize()
- Pre-cache auto properties (events and engage) before first Track() call
- Initialize session metadata during Initialize() to ensure it's ready
- Prevents race condition where Track() called before properties loaded from disk
This fixes the issue where App Start events were missing super properties
when Track() was called immediately after Init().
Addresses customer report of 30-44% event volume drop and missing super
properties on first event after migrating to Unity SDK v3.5.3.
Co-authored-by: jaredmixpanel <10504508+jaredmixpanel@users.noreply.github.com>1 parent 20a888a commit 8a6d017
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
52 | 65 | | |
53 | 66 | | |
54 | 67 | | |
| |||
0 commit comments