When working with AOT platforms like WebGL, iOS, xBox etc, there is an extra step that needs to be taken. From within the Preferred Types Editor, the relevant AOTClasses.cs script as well as the link.xml files have to be created before build. Of course these files can be re-created any time. This is as straightforward as a click of one button as seen bellow.
This file will contain necessary auto-generated classes so that they are included in the build and thus the AOT compiler be able to work with them.
This file will contain the necessary contents to avoid Code Stripping.
© Paradox Notion 2015-2024. All rights reserved.