Reply To: AoT generation

NodeCanvas Forums Support AoT generation Reply To: AoT generation

#14736
Gavalakis
Keymaster

Hello,

Yes, AOTClasses still need to be generated for AOT platforms/compilers like IL2CPP.

Please note however that methods invoked by ExecuteFunction_Multiplatform do not really need to be part of the AOTClasses generated. What basically needs to be part of that generated files, only has to do with Generic Types as well as Generic Methods, when the Generic Argument used is specifically a Struct (value type). If you take a look at the AOTClasses.cs file generated, you will notice that it only includes Generic types and methods with Struct arguments.

Did you face any issues for which you made your BuildPreprocessor?

Let me know.

Thanks!

Join us on Discord: https://discord.gg/97q2Rjh