AoT generation

NodeCanvas Forums Support AoT generation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14726
    w
    Participant

    Hi, in previous versions we had to write our own BuildPreprocessor script to manually generate AoT classes for methods invoked by ExecuteFunction_Multiplatform tasks in NodeCanvas when using IL2CPP backend.

    Now that we are on 3.0, is this process still necessary?

    Thanks.

    #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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.