@@ -17,42 +17,42 @@ internal static class MixedRealityToolkitPreserveSettings
17
17
/// behalf of the project.
18
18
/// </summary>
19
19
private const string defaultLinkXmlContents =
20
- "<linker> \n " +
21
- " <!-- \n " +
22
- " This link.xml file is provided to prevent MRTK code from being optimized away \n " +
23
- " during IL2CPP builds.More details on when this is needed and why this is needed \n " +
24
- " can be found here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/5273 \n " +
25
- " If your application doesn't use some specific services (for example, if teleportation system is \n " +
26
- " disabled in the profile), it is possible to remove their corresponding lines down \n " +
27
- " below (in the previous example, we would remove the TeleportSystem below). \n " +
28
- " It's recommended to start with this list and narrow down if you want to ensure \n " +
29
- " specific bits of code get optimized away. \n " +
30
- " --> \n " +
31
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit\" preserve=\" all\" /> \n " +
32
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.SDK\" preserve=\" all\" /> \n " +
33
- " <!-- Core systems --> \n " +
34
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.BoundarySystem\" preserve=\" all\" /> \n " +
35
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.CameraSystem\" preserve=\" all\" /> \n " +
36
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.DiagnosticsSystem\" preserve=\" all\" /> \n " +
37
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.InputSystem\" preserve=\" all\" /> \n " +
38
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.SceneSystem\" preserve=\" all\" /> \n " +
39
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.SpatialAwarenessSystem\" preserve=\" all\" /> \n " +
40
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Services.TeleportSystem\" preserve=\" all\" /> \n " +
41
- " <!-- Data providers --> \n " +
42
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.LeapMotion\" preserve=\" all\" /> \n " +
43
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.OpenVR\" preserve=\" all\" /> \n " +
44
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.OpenXR\" preserve=\" all\" /> \n " +
45
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.UnityAR\" preserve=\" all\" /> \n " +
46
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared\" preserve=\" all\" /> \n " +
47
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality\" preserve=\" all\" /> \n " +
48
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.XRSDK.WindowsMixedReality\" preserve=\" all\" /> \n " +
49
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput\" preserve=\" all\" /> \n " +
50
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.XRSDK\" preserve=\" all\" /> \n " +
51
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Providers.WindowsSceneUnderstanding\" preserve=\" all\" /> \n " +
52
- " <!-- Extension services --> \n " +
53
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Extensions.HandPhysics\" preserve=\" all\" /> \n " +
54
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Extensions.Tracking\" preserve=\" all\" /> \n " +
55
- " <assembly fullname = \" Microsoft.MixedReality.Toolkit.Extensions.SceneTransitionService\" preserve=\" all\" /> \n " +
20
+ "<linker>\n " +
21
+ " <!--\n " +
22
+ " This link.xml file is provided to prevent MRTK code from being optimized away\n " +
23
+ " during IL2CPP builds. More details on when this is needed and why this is needed\n " +
24
+ " can be found here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/5273\n " +
25
+ " If your application doesn't use some specific services (for example, if teleportation system is\n " +
26
+ " disabled in the profile), it is possible to remove their corresponding lines down\n " +
27
+ " below (in the previous example, we would remove the TeleportSystem below).\n " +
28
+ " It's recommended to start with this list and narrow down if you want to ensure\n " +
29
+ " specific bits of code get optimized away.\n " +
30
+ " -->\n " +
31
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
32
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.SDK\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
33
+ " <!-- Core systems -->\n " +
34
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.BoundarySystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
35
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.CameraSystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
36
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.DiagnosticsSystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
37
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.InputSystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
38
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.SceneSystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
39
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.SpatialAwarenessSystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
40
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Services.TeleportSystem\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
41
+ " <!-- Data providers -->\n " +
42
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.LeapMotion\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
43
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.OpenVR\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
44
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.OpenXR\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
45
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.UnityAR\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
46
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
47
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
48
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.XRSDK.WindowsMixedReality\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
49
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
50
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.XRSDK\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
51
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Providers.WindowsSceneUnderstanding\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
52
+ " <!-- Extension services -->\n " +
53
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Extensions.HandPhysics\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
54
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Extensions.Tracking\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
55
+ " <assembly fullname= \" Microsoft.MixedReality.Toolkit.Extensions.SceneTransitionService\" preserve=\" all\" ignoreIfMissing= \" 1 \" /> \n " +
56
56
"</linker>" ;
57
57
58
58
/// <summary>
0 commit comments