Search code examples
unity-game-engineil2cpp

Do multiple link.xml files conflict in Unity?


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?


Solution

  • 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.