Created
October 8, 2018 14:39
-
-
Save bruno-garcia/d550b3d57985d4ed2fd403865175caac to your computer and use it in GitHub Desktop.
link.xml for Unity IL2CPP to work with Newtonsoft.Json (Tested with the Sentry SDK https://github.com/getsentry/sentry-dotnet)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<linker> | |
<assembly fullname="System"> | |
<type fullname="System.ComponentModel.TypeConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.ArrayConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.BaseNumberConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.BooleanConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.ByteConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.CharConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.CollectionConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.ComponentConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.CultureInfoConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.DateTimeConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.DecimalConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.DoubleConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.EnumConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.ExpandableObjectConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.Int16Converter" preserve="all"/> | |
<type fullname="System.ComponentModel.Int32Converter" preserve="all"/> | |
<type fullname="System.ComponentModel.Int64Converter" preserve="all"/> | |
<type fullname="System.ComponentModel.NullableConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.SByteConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.SingleConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.StringConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.TimeSpanConverter" preserve="all"/> | |
<type fullname="System.ComponentModel.UInt16Converter" preserve="all"/> | |
<type fullname="System.ComponentModel.UInt32Converter" preserve="all"/> | |
<type fullname="System.ComponentModel.UInt64Converter" preserve="all"/> | |
</assembly> | |
<!--https://docs.microsoft.com/en-us/dotnet/api/system.linq.expressions.lambdaexpression.name?view=netframework-4.7.2&viewFallbackFrom=netframework-2.0--> | |
<assembly fullname="System.Core"> | |
<type fullname="System.Linq.Expressions" preserve="all"/> | |
<type fullname="System.Linq.Expressions.*" preserve="all"/> | |
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all"/> | |
<type fullname="System.Linq.Expressions.LambdaExpression" preserve="all"/> | |
</assembly> | |
<assembly fullname="System.Linq.Expressions"> | |
<type fullname="System.Linq.Expressions" preserve="all"/> | |
<type fullname="System.Linq.Expressions.*" preserve="all"/> | |
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all"/> | |
<type fullname="System.Linq.Expressions.LambdaExpression" preserve="all"/> | |
</assembly> | |
<assembly fullname="netstandard"> | |
<type fullname="System.Linq.Expressions" preserve="all"/> | |
<type fullname="System.Linq.Expressions.*" preserve="all"/> | |
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all"/> | |
<type fullname="System.Linq.Expressions.LambdaExpression" preserve="all"/> | |
</assembly> | |
</linker> |
What's not working? Are you trying this with the new Sentry Unity SDK?
There's a new SDK: https://github.com/getsentry/sentry-unity
With a new link.xml
: https://github.com/getsentry/sentry-unity/blob/main/src/Sentry.Unity.Editor/Resources/link.xml (Thanks @hankovich to point out the broken link)
If you can give it a try and let us know how it goes, I'd appreciate it. 👍
Link to link.xml
is broken.
New one is: https://github.com/getsentry/sentry-unity/blob/main/src/Sentry.Unity.Editor/Resources/link.xml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not working 👎