File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55### Fixes
66
77- Don't access Unity ` AnalyticsSessionInfo.userId ` on unknown platforms ([ #971 ] ( https://github.com/getsentry/sentry-unity/pull/971 ) )
8+ - Keep previously set IL2CPP compiler arguments (i.e append instead of overwriting) ([ #972 ] ( https://github.com/getsentry/sentry-unity/pull/972 ) )
89
910### Dependencies
1011
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ internal class Il2CppOption : IPreprocessBuildWithReport
1212 public void OnPreprocessBuild ( BuildReport report )
1313 {
1414 var arguments = "--emit-source-mapping" ;
15- Debug . Log ( $ "Setting additional IL2CPP arguments = '{ arguments } ' for platform { report . summary . platform } ") ;
16- PlayerSettings . SetAdditionalIl2CppArgs ( arguments ) ;
15+ Debug . Log ( $ "Setting additional IL2CPP arguments '{ arguments } ' for platform { report . summary . platform } ") ;
16+ PlayerSettings . SetAdditionalIl2CppArgs ( PlayerSettings . GetAdditionalIl2CppArgs ( ) + $ " { arguments } " ) ;
1717 }
1818 }
1919}
You can’t perform that action at this time.
0 commit comments