1

Files named link.xml are used to prevent certain codes being "bytecode stripped with IL2CPP" (https://docs.unity3d.com/Manual/IL2CPP-BytecodeStripping.html).

I have two 3rd party SDKs in my Unity project, both have a link.xml file in their own folder. I worry if they conflict with each other? Should I combine their contents together into one single link.xml file?

ArtS
  • 1,730
  • 1
  • 20
  • 43
  • split one that you know works in to two link.xml files and see if it still works. I have multiple and it seems to work fine – turnipinrut Jun 28 '18 at 05:45
  • I can't test it now because I don't have a 100% way to test and tell if the link.xml file works or not. – ArtS Jun 28 '18 at 13:51

1 Answers1

2

Multiple link.xml files will work correctly. Unity will preserve the all of the types and methods in all of the link.xml files in the project.

Josh Peterson
  • 2,299
  • 19
  • 21