GetRange node, ‘null reference’

FlowCanvas Forums Support GetRange node, ‘null reference’

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3361
    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):

       

      Attachments:
      You must be logged in to view attached files.
      #3365
      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!

        #3369
        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.