GetRange node, ‘null reference’

Forums šŸ’¬ FlowCanvas āš™ļø Support GetRange node, ‘null reference’

  • This topic has 0 replies, 2 voices, and was last updated 3 years ago by Gavalakis.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12069
    spayke
    Participant

      Hi, List.GetRange node throws ‘null reference’ error, in 100% cases in IL2CPP/Net4.0 build, any list type(mine audioclips list), any range, any unity version(mine unity 2020.3) just throws null reference. Bug possibly?

      Is there quickfix that i can fix in that node?

      or can you help me make simplex node, here what i have so far(but this throws errors):

       

      #12071
      Gavalakis
      Keymaster

        Hello,

        Have you built the AOTClasses and link.xml files through the Preferred Types Editor? (DOC LINK). If so, could you please post the error you are getting?

        Here is the code for the PureFunctionNode you requested. The code was simply missing another List<T> parameter:

        Please let me know.
        Thanks!

        #12070
        spayke
        Participant

          Hi, thanks for the node example, it works!

          About that error in List.GetRange node, yes AOT was generated, it was throwing “null reference exception”, there is something wrong in that node, just try to build(in IL2CPP) empty project with only this node getting any range from any list, as a test

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